Macotron

Launcher

The launcher is a search bar that opens on a hotkey. Type a few letters to open an app, run a plugin command, or pick a row that a plugin added, such as a file, a contact, or a calculator answer.

Opening it

Press ⌥Space (Option-Space). That is the default. To change it, open Settings → General and record a new combo in Launcher Hotkey. The menu bar item also has Open Launcher.

When the query is empty, the launcher shows only your starred rows. It does not guess what you want.

Searching

Matching is fuzzy: sysset finds System Settings, and the letters do not have to be next to each other. The launcher searches these sources:

The results you pick most often move up. Reset Launcher Ranking forgets those counts. The list shows up to 20 rows.

Keys

KeyAction
ReturnOpen or run the selected row.
↑ ↓, or Control-P Control-NMove the selection.
⌘ReturnReveal the row in Finder.
⌥ReturnQuick Look preview, for rows that are files.
⌘CCopy the path, for rows that are files.
⌘SStar or unstar the row.
⌘KRecord a global shortcut for the row.
⌘;Open Macotron Settings.
EscClose the launcher, or leave an argument form.

Stars

Press ⌘S on any row to star it. Starred rows are the list you see when you open the launcher and type nothing. Press ⌘S again to remove the star.

Shortcuts for any row

Select a row, press ⌘K, then press the combo you want. Press Delete instead to clear the shortcut, or Esc to cancel. This works for apps, plugin commands, and plugin rows. A shortcut for an app hides the app when it is already in front.

You can also set command shortcuts in Settings → Plugins, and app shortcuts in Settings → Shortcuts. See Hotkeys.

Command arguments

Some commands ask for input before they run. When you pick one, the launcher shows a small form with text fields, number fields, or dropdowns. For example, Search Google asks for a query, and Generate Lorem Ipsum asks for a count and a unit. Fill in the form and press Return. A required field must have a value.

macotron.command("Search GitHub", "Search GitHub", (args) => {
  macotron.url.open("https://github.com/search?q=" + encodeURIComponent(args.q));
}, {
  arguments: [{ name: "q", type: "text", placeholder: "Query", required: true }],
});

Look

Settings → General has two options for the launcher:

Plugins that add to the launcher

PluginWhat you get
CalculatorType a sum (20% of 85) or a conversion (12 km in miles). Return copies the answer.
File SearchFiles and folders by name, from Macotron's own index. See File search.
Clipboard HistoryRecent copies as rows. See Clipboard.
Text SnippetsSnippet rows. See Snippets.
Contacts SearchNames, emails, and phone numbers.
Notes SearchApple Notes by title. Return opens the note.
Web SearchSearch Google, Wikipedia, Maps, YouTube, or GitHub, and Define for Dictionary.
System Settings SearchOpen a System Settings pane by name.
Emoji PickerType two or more letters of an emoji name.
ShortcutsYour Shortcuts.app shortcuts. Refresh Shortcuts reloads the list.
Window ControlsTile commands and Switch Window. See Windows.
Lock Screen CommandLock Screen.
Dev UtilsGenerate UUID, Unix Timestamp, Encode Base64, Decode JWT.
Lorem Ipsum GeneratorGenerate Lorem Ipsum, with count and unit.

Most other built-in plugins add a command or two. See Built-in plugins.

See also