User Tools

Site Tools


JavaScript_for_Automation

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
JavaScript_for_Automation [2017/04/05 00:38] – Revised title and outline to better reflect contents; Moved the KM stuff to top JMichaelTXJavaScript_for_Automation [2019/01/12 17:43] (current) – [Accessing Keyboard Maestro Variables] ADD Link to Get/Set Local/Instance Vars JMichaelTX
Line 57: Line 57:
 kme.setvariable('My Other KM Var', { to: scriptResults }); kme.setvariable('My Other KM Var', { to: scriptResults });
 </code> </code>
 +
 +Also see **[[action:Execute_a_JavaScript_For_Automation#Local_Instance_Variables|How To Get/Set Keyboard Maestro Local & Instance Variables using JXA]]**
  
 JXA can get a list of all variables as described on the [forum](https://forum.keyboardmaestro.com/t/using-km-variables-in-yosemite-javascript-for-applications-jxa/889) and those methods also provide more convoluted ways to access variables for versions prior to 7.1. JXA can get a list of all variables as described on the [forum](https://forum.keyboardmaestro.com/t/using-km-variables-in-yosemite-javascript-for-applications-jxa/889) and those methods also provide more convoluted ways to access variables for versions prior to 7.1.
 +
  
 **For more info on using JXA with Keyboard Maestro, see:** **For more info on using JXA with Keyboard Maestro, see:**
JavaScript_for_Automation.1491352720.txt.gz · Last modified: by JMichaelTX

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki