This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
action:Custom_HTML_Prompt [2021/10/15 04:31] peternlewis [External References] |
action:Custom_HTML_Prompt [2021/10/15 04:32] peternlewis [Using JavaScript] |
||
---|---|---|---|
Line 132: | Line 132: | ||
| window.KeyboardMaestro.SetDictionary( 'Dictionary', 'Key', 'value' ) | sets the value of a dictionary entry | | | window.KeyboardMaestro.SetDictionary( 'Dictionary', 'Key', 'value' ) | sets the value of a dictionary entry | | ||
| window.KeyboardMaestro.ProcessTokens( '%ShortDate%' ) | returns the text token expansion | | | window.KeyboardMaestro.ProcessTokens( '%ShortDate%' ) | returns the text token expansion | | ||
+ | | window.KeyboardMaestro.ProcessAppleScript( 'tell app "Finder" to activate' ) | executes the AppleScript and returns the result (v10.0+) | | ||
| window.KeyboardMaestro.Calculate( '10 + 32' ) | returns the result of the calculation | | | window.KeyboardMaestro.Calculate( '10 + 32' ) | returns the result of the calculation | | ||
| window.KeyboardMaestro.Trigger( macro, value ) | triggers the specified macro (7.1+) | | | window.KeyboardMaestro.Trigger( macro, value ) | triggers the specified macro (7.1+) | |