User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Scripting [2016/04/27 22:28]
Scripting [2019/07/01 01:11] (current)
peternlewis [Shell]
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,​ and provided for this, by providing a number of Execute Script Actions, all of these available from the Execute category in the Action List:
 +==== Execute Script Actions ====
 +For example, the [[action:​Execute_an_AppleScript]] 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:​Scripting|User Manual Page on Scripting]]**
 ==== AppleScript ==== ==== AppleScript ====
 * [[AppleScript]] -- Using Keyboard Maestro Variables in AppleScript. * [[AppleScript]] -- Using Keyboard Maestro Variables in AppleScript.
-* [Execute an AppleScript](https://​​action/​Execute_an_AppleScript) ​action.+* [[action:​Execute an AppleScript|Execute an AppleScript]action. 
 ==== JavaScript ==== ==== JavaScript ====
 +* [[action:​Execute a JavaScript For Automation]] action -- shows how to get/set Variables.
 +* [[action:​Execute a JavaScript in Safari]] action.
 +* [[action:​Execute a JavaScript in Google Chrome]] action.
 +* [[action:​Execute a JavaScript in Custom Prompt]] action.
 * [[JavaScript for Automation]] -- Provides an introduction to JXA and comparison with AppleScript.\\ * [[JavaScript for Automation]] -- Provides an introduction to JXA and comparison with AppleScript.\\
-* [Execute a JavaScript For Automation](https://​​action/​Execute_a_JavaScript_For_Automation) action. +
-* [Execute a JavaScript in Safari](https://​​action/​Execute_a_JavaScript_in_Safari) action. +
-* [Execute a JavaScript in Google Chrome](https://​​action/​Execute_a_JavaScript_in_Google_Chrome) action. +
-* [Execute a JavaScript in Custom Prompt](https://​​action/​Execute_a_JavaScript_in_Custom_Prompt) action.+
 ==== Shell ==== ==== Shell ====
-* [[Shell Scripting]] -- Using Keyboard Maestro Variables (TBD) +* [[action:Execute a Shell Script]action. 
-* [Execute a Shell Script](https://​​action/​Execute_a_Shell_Script) ​action.+
 ==== Swift ==== ==== Swift ====
-* [Execute a Swift Script](https://​​action/​Execute_a_Swift_Script) ​action.+* [[action:Execute a Swift Script]action. 
 ==== Automator ==== ==== Automator ====
-* [Execute an Automator Workflow](​action/Execute_an_Automator_Workflow) action+* [[action:Execute an Automator Workflow]] action 
 +===== See Also ===== 
 +* [[Scripting_the_Keyboard_Maestro_editor|Scripting the Keyboard Maestro editor]] 
 +* [[manual:​Scripting|Scripting]] user manual section 
 +==== Forum ==== 
 +- [[​t/create-text-expansions-macro/​3302|Create Text Expansions Macro]] 
 +- [[https://​​t/​create-text-expansion-from-selection-macro/​3329|Create Text Expansion From Selection Macro]] 
 +- [[https://​​t/​add-the-contents-off-the-clipboard-as-a-unicode-expansion-to-typinator/​3614/​2|Add the contents off the clipboard as a Unicode expansion to Typinator]] 
 +- [[https://​​search?​q=Scripting|Keyboard Maestro Forum topics about Scripting]] 
Scripting.1461810506.txt.gz · Last modified: 2016/04/27 22:28 by peternlewis