action:Custom_HTML_Prompt
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| action:Custom_HTML_Prompt [2021/10/15 08:43] – [Using JavaScript] peternlewis | action:Custom_HTML_Prompt [2021/12/11 15:14] (current) – [HTML Window Design] 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+) 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 design the HTML form using standard HTML code, which can be stored in either a file or as text in the Action. | ||
| Line 53: | Line 53: | ||
| ```sh | ```sh | ||
| - | defaults write com.stairways.keyboardmaestro.engine WebKitDeveloperExtras | + | defaults write com.stairways.keyboardmaestro.engine WebKitDeveloperExtras |
| ``` | ``` | ||
| 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( ' | ||
| Prior to version 7.1, using SetVariable to set a value to something other than a string can [corrupt the variable](https:// | Prior to version 7.1, using SetVariable to set a value to something other than a string can [corrupt the variable](https:// | ||
| Line 165: | Line 166: | ||
| * [[action: | * [[action: | ||
| * [[action: | * [[action: | ||
| + | * [[action: | ||
| * [[: | * [[: | ||
action/Custom_HTML_Prompt.1634287411.txt.gz · Last modified: by peternlewis
