Scripting
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| Scripting [2016/04/29 15:32] – cosmetic changes alain | Scripting [2019/07/01 05:11] (current) – [Shell] peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{: | ||
| ===== Scripting on OS X Using Keyboard Maestro ===== | ===== Scripting on OS X Using Keyboard Maestro ===== | ||
| + | |||
| + | While the number of, and power of, native Keyboard Maestro Actions is vast, sometimes you may need to do something that Keyboard Maestro is not well suited to do. But Keyboard Maestro has anticipated, | ||
| + | |||
| + | ==== Execute Script Actions ==== | ||
| + | |||
| + | {{: | ||
| + | |||
| + | For example, the [[action: | ||
| + | {{: | ||
| + | Note that the script can be either embedded in the _Action_, or in an external script file, linked using the _Execute Script File_ choice. | ||
| + | |||
| + | The Actions for the other script languages are very similar. | ||
| + | |||
| + | :!: **For more details about scripting, see the [[manual: | ||
| ==== AppleScript ==== | ==== AppleScript ==== | ||
| Line 5: | Line 20: | ||
| * [[AppleScript]] -- Using Keyboard Maestro Variables in AppleScript. | * [[AppleScript]] -- Using Keyboard Maestro Variables in AppleScript. | ||
| * [[action: | * [[action: | ||
| + | |||
| ==== JavaScript ==== | ==== JavaScript ==== | ||
| - | * [[JavaScript for Automation]] -- Provides an introduction to JXA and comparison with AppleScript.\\ | + | * [[action: |
| - | * [[action: | + | |
| * [[action: | * [[action: | ||
| * [[action: | * [[action: | ||
| * [[action: | * [[action: | ||
| + | * [[JavaScript for Automation]] -- Provides an introduction to JXA and comparison with AppleScript.\\ | ||
| + | |||
| ==== Shell ==== | ==== Shell ==== | ||
| - | * [[Shell Scripting]] -- Using Keyboard Maestro Variables (TBD) | ||
| * [[action: | * [[action: | ||
| + | |||
| ==== Swift ==== | ==== Swift ==== | ||
| * [[action: | * [[action: | ||
| + | |||
| ==== Automator ==== | ==== Automator ==== | ||
| * [[action: | * [[action: | ||
| + | |||
| + | |||
| + | ===== See Also ===== | ||
| + | |||
| + | * [[Scripting_the_Keyboard_Maestro_editor|Scripting the Keyboard Maestro editor]] | ||
| + | * [[manual: | ||
| + | |||
| + | ==== Forum ==== | ||
| + | |||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
| + | - [[https:// | ||
Scripting.1461943925.txt.gz · Last modified: by alain
