User Tools

Site Tools


AppleScript

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
AppleScript [2018/07/03 21:29]
JMichaelTX [Using AppleScript to Get and Set Keyboard Maestro Variables]
AppleScript [2019/03/28 14:41] (current)
JMichaelTX ADD tell block to first example.
Line 5: Line 5:
 In AppleScript,​ you can tell the application "​Keyboard Maestro Engine"​ to: In AppleScript,​ you can tell the application "​Keyboard Maestro Engine"​ to:
  
 +```applescript
 +tell application "​Keyboard Maestro Engine"​
     getvariable <KM Variable Name>     getvariable <KM Variable Name>
     setvariable <KM Variable Name> to <New Value>     setvariable <KM Variable Name> to <New Value>
 +end tell
 +```
  
 where both the `<KM Variable Name>` and `<New Value>` are text values. where both the `<KM Variable Name>` and `<New Value>` are text values.
AppleScript.txt ยท Last modified: 2019/03/28 14:41 by JMichaelTX