Nucleus Blast · Commands

Menus, dialogs and key commands for Logic Pro

10 commands for everything else: search the 10,636 menu items and key commands of Logic, press a menu or a right-click menu by its path, read or answer the open dialog, undo or redo one named step, and make a mouse gesture that is checked before it acts.

Your agent sends each command to the one tool, named logic: {command: "fader", params: {strip: "Bass", db: -6, confirmed: true}}. The reply says verified: true only when Logic showed the expected state.

find Search Logic's 10,636 commands: where each one is and its shortcut.

find {query: 'bounce in place', kind?: 'menu' | 'key_command', limit?}. Read-only. Tells which of menu, local_menu, context_menu or key_command reaches the command.

Reads, or moves the view, the transport or the selection: no confirmation needed.

local_menu List or press the local menu bar of an area or editor (Edit, Functions, View…).

local_menu {menu: 'Edit' | 'Functions' | 'View' | 'Options' | 'Lanes' | 'Layout' | 'Audio File', area?: 'tracks' | 'mixer', window?: 'Piano Roll', index?, path?, confirmed?}. No path, or a path ending on a submenu, only lists.

Reads freely. Each change it makes needs confirmed: true.

context_menu List or press a right-click menu (region, track, lane, strip, control-bar button).

context_menu {target: 'region' | 'track' | 'lane' | 'strip' | 'control', name, index?, path?, confirmed?}. name: exact region name, track name or number, strip name, or a control-bar button ('Play', 'Record', 'Cycle', 'Metronome Click', 'Control Bar'). Without path it lists; with path it presses ('Convert > Convert to MIDI Region').

Reads freely. Each change it makes needs confirmed: true.

dialog Read, fill or answer the Logic dialog, sheet or alert that is open.

dialog {} reads it: texts, fields with labels and values, buttons. dialog {action: 'set', field, value | on | option} writes a field, checkbox, pop-up or slider (read back). dialog {action: 'press', button: 'exact title', confirmed: true} presses a NAMED button. dialog {action: 'close', confirmed: true} closes a settings window that has no OK or Cancel (Project Settings…); a question is never closed this way. A dialog is never answered by default: read it, decide, then press.

Reads freely. Each change it makes needs confirmed: true.

key_command Send the shortcut of a Logic key command (last resort).

key_command {name: 'exact key command name', group?, confirmed: true}. For commands that have no menu item. The key goes to the Logic process only, with Logic in front, and only for view, navigation, selection and transport commands. Without confirmed it only shows the key it would send.

Reads freely. Each change it makes needs confirmed: true.

undo Tell what Undo would undo, or undo.

undo {} tells what Edit > Undo would undo. With Logic in the background its Edit menu can be out of date: add activate: true (Logic comes to the front, its Edit menu opens for a moment and closes) to read the exact name, e.g. 'Undo Load Patch'. undo {steps: 1..20, confirmed: true, activate?: true} undoes, each step read back. Read what a gesture did before undoing it.

Reads freely. Each change it makes needs confirmed: true.

Used in: Undo one step, knowing which

redo Tell what Redo would redo, or redo.

redo {} | redo {steps: 1..20, confirmed: true}. Same rules as undo.

Reads freely. Each change it makes needs confirmed: true.

mouse A real mouse gesture on a named element, checked before it acts.

mouse {action: 'click' | 'double_click' | 'drag', target: 'region' | 'track' | 'lane' | 'strip' | 'ruler' | 'cycle', name?, index?, fx?, fy?, bar?, and for drag: to_fx / to_fy | to_bar | bars | dx / dy, confirmed: true}. Logic comes to the front; refused while the user types or moves the mouse; nothing happens unless the element under the pointer is the named target; the pointer is put back. Reported verified: false, since the effect of a free gesture cannot be read: check with another command.

Reads freely. Each change it makes needs confirmed: true.

Other commands

All the commands on one page