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/03/03 10:29] JMichaelTX [See Also] |
action:Custom_HTML_Prompt [2021/03/03 10:29] JMichaelTX [Using JavaScript] |
||
---|---|---|---|
Line 127: | Line 127: | ||
| window.KeyboardMaestro.Submit( buttonName ) | submit the form and write the *Keyboard Maestro Variables* | | | window.KeyboardMaestro.Submit( buttonName ) | submit the form and write the *Keyboard Maestro Variables* | | ||
| window.KeyboardMaestro.Cancel( buttonName ) | close the window, do not write the *Keyboard Maestro Variables* | | | window.KeyboardMaestro.Cancel( buttonName ) | close the window, do not write the *Keyboard Maestro Variables* | | ||
- | | window.KeyboardMaestro.ResizeWindow( "1,2,3,4" ) | resize the window to the specified size or frame as a string with commas ("width,height" or "left,top,width,height")\\ Also see [Resizing Window Using Current Position](https://forum.keyboardmaestro.com/t/resizing-html-window-with-javascript-keyboardmaestro-resizewindow-moves-it/21579/6) | | + | | window.KeyboardMaestro.ResizeWindow( "1,2,3,4" ) | resize the window to the specified size or frame as a string with commas ("width,height" or "left,top,width,height")\\ Also see [Resizing Window Using Current Position](https://forum.keyboardmaestro.com/t/resizing-html-window-with-javascript-keyboardmaestro-resizewindow-moves-it/21579/7) | |
| window.KeyboardMaestro.GetVariable( 'KMVariableName' ) | returns the value of a variable | | | window.KeyboardMaestro.GetVariable( 'KMVariableName' ) | returns the value of a variable | | ||
| window.KeyboardMaestro.SetVariable( 'KMVariableName', 'value' ) | sets the value of a variable | | | window.KeyboardMaestro.SetVariable( 'KMVariableName', 'value' ) | sets the value of a variable | |