User Tools

Site Tools


action:Execute_a_JavaScript_For_Automation

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
action:Execute_a_JavaScript_For_Automation [2017/11/16 20:11]
JMichaelTX [Get/Set Keyboard Maestro Variables]
action:Execute_a_JavaScript_For_Automation [2023/04/01 21:53]
peternlewis
Line 16: Line 16:
   *Asynchronously ignored — the action runs while the macro continues on.   *Asynchronously ignored — the action runs while the macro continues on.
  
 +By default, errors are not included in the output, and the output is trimmed of white space. These can be adjusted in the action (gear) ⚙ menu.
  
 ===== Get/Set Keyboard Maestro Variables ===== ===== Get/Set Keyboard Maestro Variables =====
Line 66: Line 67:
 --- ---
  
-==== Get/​Set ​Local & Instance Variables ====+==== Local & Instance Variables ==== 
 +**How To Get/Set Keyboard Maestro Local & Instance Variables**
  
 Keyboard Maestro Ver 8 introduced [[manual:​Variables#​Instance_Variables_v8|Local and Instance Variables]]. ​ In order to get or set these, you need to use different parameters in the JXA get/set methods. ​ Here is an example. Keyboard Maestro Ver 8 introduced [[manual:​Variables#​Instance_Variables_v8|Local and Instance Variables]]. ​ In order to get or set these, you need to use different parameters in the JXA get/set methods. ​ Here is an example.
action/Execute_a_JavaScript_For_Automation.txt · Last modified: 2023/09/12 22:56 by peternlewis