User Tools

Site Tools


action:Custom_HTML_Prompt

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
Last revision Both sides next revision
action:Custom_HTML_Prompt [2021/10/15 04:45]
peternlewis [How To Use]
action:Custom_HTML_Prompt [2021/12/07 00:52]
peternlewis
Line 21: Line 21:
 By default, the window floats above all others, but you can optionally turn off *Floating* (v8+) in the gear BUTTON{{{⚙}}} menu. By default, the window floats above all others, but you can optionally turn off *Floating* (v8+) in the gear BUTTON{{{⚙}}} menu.
  
-You can optionally turn on *Resizable* (v8+), make the window *Transparent* (v10.0+), or turn off the Title Bar (v10.0+) in the gear BUTTON{{{⚙}}} menu.+You can optionally turn on *Resizable* (v8+), make the window *Transparent* (v10.0+), or turn off the *Window ​Title Bar(v10.0+) in the gear BUTTON{{{⚙}}} menu.
  
 You design the HTML form using standard HTML code, which can be stored in either a file or as text in the Action. ​ You can, of course, use any Web/HTML editor you like.  If you'd like some suggestions,​ see the [[Custom_HTML_Prompt#​WebHTML_Editors|Web/​HTML Editors]] section at the bottom of this page for editors that others have found useful. You design the HTML form using standard HTML code, which can be stored in either a file or as text in the Action. ​ You can, of course, use any Web/HTML editor you like.  If you'd like some suggestions,​ see the [[Custom_HTML_Prompt#​WebHTML_Editors|Web/​HTML Editors]] section at the bottom of this page for editors that others have found useful.
Line 135: Line 135:
 | `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+) |
 +| `window.KeyboardMaestro.Log( '​Message'​ )` | log a message in the Engine.log file (10.0.2+) |
  
 Prior to version 7.1, using SetVariable to set a value to something other than a string can [corrupt the variable](https://​forum.keyboardmaestro.com/​t/​corrupted-variables-after-custom-html-setvariable-update-i-fixed-it-please-read/​2881). Prior to version 7.1, using SetVariable to set a value to something other than a string can [corrupt the variable](https://​forum.keyboardmaestro.com/​t/​corrupted-variables-after-custom-html-setvariable-update-i-fixed-it-please-read/​2881).
Line 165: Line 166:
 * [[action:​Get_Touch_Bar_Selection|Get Touch Bar Selection]] action * [[action:​Get_Touch_Bar_Selection|Get Touch Bar Selection]] action
 * [[action:​Show_Palette_of_Macros|Show Palette of Macros]] action * [[action:​Show_Palette_of_Macros|Show Palette of Macros]] action
 +* [[action:​Display_Progress|Display Progress]] action
 * [[:​Actions|See all Actions]] * [[:​Actions|See all Actions]]
  
action/Custom_HTML_Prompt.txt · Last modified: 2021/12/11 10:14 by peternlewis