User Tools

Site Tools


action:Execute_a_Swift_Script

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 Both sides next revision
action:Execute_a_Swift_Script [2016/09/13 22:08]
peternlewis
action:Execute_a_Swift_Script [2016/09/13 22:08]
peternlewis
Line 40: Line 40:
  
 let myString = "the Value" let myString = "the Value"
-NSAppleScript(source:​ "tell application \"​Keyboard Maestro Engine\"​ to setvariable \"​fromSwift\"​ to \"​\(myString)\""​)?​ +NSAppleScript(source:​ "tell application \"​Keyboard Maestro Engine\"​ to setvariable \"​fromSwift\"​ to \"​\(myString)\""​)?​.executeAndReturnError(nil)
-.executeAndReturnError(nil)+
 </​code>​ </​code>​
  
action/Execute_a_Swift_Script.txt · Last modified: 2023/09/12 23:03 by peternlewis