This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
action:Execute_a_JavaScript_in_Google_Chrome [2017/03/22 00:10] peternlewis [Using Keyboard Maestro Variables] |
action:Execute_a_JavaScript_in_Google_Chrome [2017/03/22 00:11] peternlewis [Using Keyboard Maestro Variables] |
||
---|---|---|---|
Line 35: | Line 35: | ||
``` | ``` | ||
- | If your Keyboard Maestro Variable contains spaces, they must be replaced with underscores in the JavaScript. | + | If your Keyboard Maestro Variable contains spaces, they must be replaced with underscores in the JavaScript, for example: |
- | + | ||
- | So, for example: | + | |
Keyboard Maestro Variable Name: My KM Data | Keyboard Maestro Variable Name: My KM Data | ||
JavaScript Reference: document.kmvar.My_KM_Data | JavaScript Reference: document.kmvar.My_KM_Data |