Scripting
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| Scripting [2016/06/23 02:49] – ADD screenshots and examples JMichaelTX | Scripting [2019/07/01 05:11] (current) – [Shell] peternlewis | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| 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, | 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: | + | {{:km-7.1-execute-script-actions.png? |
| - | {{:km-7.1-execute-applescript.png? | + | For example, the [[action: |
| + | {{:km-7.3-execute-script.png? | ||
| + | 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. | The Actions for the other script languages are very similar. | ||
| - | + | :!: **For more details about scripting, see the [[manual: | |
| - | ---- | + | |
| ==== AppleScript ==== | ==== AppleScript ==== | ||
| Line 20: | Line 21: | ||
| * [[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 ==== | ||
| Line 46: | Line 40: | ||
| * [[action: | * [[action: | ||
| - | |||
| - | ---- | ||
| ==== Automator ==== | ==== Automator ==== | ||
| Line 53: | Line 45: | ||
| * [[action: | * [[action: | ||
| - | |||
| - | ---- | ||
| ===== See Also ===== | ===== See Also ===== | ||
| - | ---- | + | * [[Scripting_the_Keyboard_Maestro_editor|Scripting the Keyboard Maestro editor]] |
| - | + | * [[manual: | |
| - | ---- | + | |
| ==== Forum ==== | ==== Forum ==== | ||
| Line 67: | Line 56: | ||
| - [[https:// | - [[https:// | ||
| - [[https:// | - [[https:// | ||
| - | + | - [[https://forum.keyboardmaestro.com/search?q=Scripting|Keyboard Maestro Forum topics about Scripting]] | |
| - | - [[https://www.google.fr/search?q=site: | + | |
| - | + | ||
Scripting.1466650164.txt.gz · Last modified: by JMichaelTX
