aos shortcuts
Run the person’s Shortcuts automations (macOS)
2 commands. Run aos shortcuts --help for the same list from the binary, or see every group.
The person’s Shortcuts automations on macOS, through the system shortcuts command. list shows them by name (and id with --json). run runs one by name or id. It can pass a file (--input) or a piece of text (--text), and prints whatever the shortcut returns, as text. On Windows and Linux these commands exit 2: Windows App Actions have no command-line or Win32 entry point yet, and Linux has no equivalent.
Commands
Section titled “Commands”aos shortcuts list
Section titled “aos shortcuts list”List the Shortcuts automations, optionally in one folder
darwin only
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos shortcuts list [--folder=<name>] [--json]| flag | values | meaning |
|---|---|---|
--folder |
<name> |
Optional |
--json |
Optional |
aos shortcuts listaos shortcuts list --folder=Work --jsonaos shortcuts run
Section titled “aos shortcuts run”Run a shortcut by name or id, with optional input, and print its output
darwin only
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos shortcuts run <name|id> [--input=<file>] [--text=<input text>]| flag | values | meaning |
|---|---|---|
<name|id> |
Required positional argument | |
--input |
<file> |
Optional |
--text |
<input text> |
Optional |
aos shortcuts run "Resize Image" --input=~/Desktop/photo.jpgaos shortcuts run "Translate" --text="good morning"aos shortcuts run "Start Focus Timer"