User Tools

Site Tools


actions:Execute_a_JavaScript_in_Browser

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
actions:Execute_a_JavaScript_in_Browser [2017/08/31 02:08]
peternlewis
actions:Execute_a_JavaScript_in_Browser [2017/08/31 02:09]
peternlewis [Saving Results to Keyboard Maestro Variables]
Line 36: Line 36:
 ===== Saving Results to Keyboard Maestro Variables ===== ===== Saving Results to Keyboard Maestro Variables =====
   ​   ​
-If you need to set a Keyboard Maestro Variable from the JavaScript in a browser, then use JavaScript return to return the data to the Keyboard Maestro Action, which can be set to save the results as a Keyboard Maestro Variable.+If you need to set a Keyboard Maestro Variable from the JavaScript in a browser, then use the JavaScript return ​value to return the data to the Keyboard Maestro Action, which can be set to save the results as a Keyboard Maestro Variable.
  
 If you need to set more than one Keyboard Maestro Variable, one approach is to return the data for each variable on a separate line (or with delimiters of your choice), and then parse in a following [[action: Search_using_Regular_Expression|Search using Regular Expression]]. If you need to set more than one Keyboard Maestro Variable, one approach is to return the data for each variable on a separate line (or with delimiters of your choice), and then parse in a following [[action: Search_using_Regular_Expression|Search using Regular Expression]].
actions/Execute_a_JavaScript_in_Browser.txt ยท Last modified: 2024/01/24 22:06 by peternlewis