This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
Scripting [2016/08/10 17:00] JMichaelTX ADD link to User Manual Scripting |
Scripting [2017/08/31 05:22] peternlewis [See Also] |
||
---|---|---|---|
Line 8: | Line 8: | ||
{{:km-7.1-execute-script-actions.png?nolink|}} | {{:km-7.1-execute-script-actions.png?nolink|}} | ||
- | For example, the [[action:Execute_an_AppleScript]] Action: | + | For example, the [[action:Execute_an_AppleScript]] Action:\\ |
- | + | {{:km-7.3-execute-script.png?nolink|}}\\ | |
- | {{:km-7.1-execute-applescript.png?nolink|}} | + | 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. | ||
Line 28: | Line 28: | ||
==== JavaScript ==== | ==== JavaScript ==== | ||
- | * [[JavaScript for Automation]] -- Provides an introduction to JXA and comparison with AppleScript.\\ | + | * [[action:Execute a JavaScript For Automation]] action -- shows how to get/set Variables. |
- | * [[action:Execute a JavaScript For Automation]] action. | + | |
* [[action:Execute a JavaScript in Safari]] action. | * [[action:Execute a JavaScript in Safari]] action. | ||
* [[action:Execute a JavaScript in Google Chrome]] action. | * [[action:Execute a JavaScript in Google Chrome]] action. | ||
* [[action:Execute a JavaScript in Custom Prompt]] action. | * [[action:Execute a JavaScript in Custom Prompt]] action. | ||
+ | * [[JavaScript for Automation]] -- Provides an introduction to JXA and comparison with AppleScript.\\ | ||
Line 61: | Line 61: | ||
===== See Also ===== | ===== See Also ===== | ||
- | ---- | + | * [[Scripting_the_Keyboard_Maestro_editor|Scripting the Keyboard Maestro editor]] |
---- | ---- | ||
- | |||
==== Forum ==== | ==== Forum ==== | ||
Line 70: | Line 69: | ||
- [[https://forum.keyboardmaestro.com/t/create-text-expansion-from-selection-macro/3329|Create Text Expansion From Selection Macro]] | - [[https://forum.keyboardmaestro.com/t/create-text-expansion-from-selection-macro/3329|Create Text Expansion From Selection Macro]] | ||
- [[https://forum.keyboardmaestro.com/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://forum.keyboardmaestro.com/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://forum.keyboardmaestro.com/search?q=Scripting|Keyboard Maestro Forum topics about Scripting]] | |
- | - [[https://www.google.fr/search?q=site:forum.keyboardmaestro.com+Found+Image+condition|Keyboard Maestro Forum topics about Scripting]] | + | |