User Tools

Site Tools


manual:Scripting

Differences

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
Next revision Both sides next revision
manual:Scripting [2017/11/06 01:54]
peternlewis added count found in and search and replace
manual:Scripting [2018/07/02 19:38]
JMichaelTX Add setup options table
Line 18: Line 18:
 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.3-execute-script.png?​nolink|}}\\
 +
 +**There are two setup options:**
 +^ Setup Option ^ Choices\\ (Default shown first) ^
 +| Script location | Execute text script (type or paste script into Action text field)\\ Execute script file (This is faster if it is a compiled script file `.scpt`) |
 +| Script Results | Ignored.\\ Displayed in a floating window.\\ Displayed briefly in a Notification.\\ Typed in the current text field that has focus.\\ Pasted in text field that has focus.\\ Saved to a Keyboard Maestro Variable.\\ Saved to the System or Named Clipboard.\\ Ignore Results and run //​Asynchronously//​ (the script runs while the macro continues on to the next //​Action//​.) |
 +
  
 ==== Getting Script Results ==== ==== Getting Script Results ====
Line 211: Line 217:
 ==== Editor ==== ==== Editor ====
  
-Another way you can control Keyboard Maestro ​Editor ​is using the "​`keyboardmaestro`"​ URL scheme, which supports the following formats:+Another way you can control Keyboard Maestro ​editor ​is using the "​`keyboardmaestro`"​ URL scheme, which supports the following formats:
  
 ^ Example Editor URL Command ^ Description ^ ^ Example Editor URL Command ^ Description ^
manual/Scripting.txt ยท Last modified: 2023/10/04 04:27 by peternlewis