This action is similar to the default “Execute a Shell Script” action. The main difference is that the script will be executed in the Terminal application.
When would you use this?
- Whenever you need the visual output of the Terminal
- For interactive scripts
- When the script demands a password, which you don’t want to send through KM
Drop the zip archive on the Keyboard Maestro application dock icon. (Wiki: Plug-in Actions)
Execute a Script in Terminal.zip (11.6 KB)
New Terminal window
Executes the script in a new Terminal window. If unchecked the script will be executed in an already open (non-busy) Terminal window.
Bring Terminal to foreground
When executing the script the Terminal application will become frontmost.
You can also execute script files. You must format the path as you would do in the Terminal, that is, quoting the path or escaping any spaces.
The action will not capture any script output.