action:Execute_a_JavaScript_in_Custom_Prompt
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| action:Execute_a_JavaScript_in_Custom_Prompt [2016/04/27 08:04] – created peternlewis | action:Execute_a_JavaScript_in_Custom_Prompt [2023/11/28 08:07] (current) – [See Also] peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | The Execute JavaScript in Custom Prompt action allows you to execute a specified JavaScript, either from a file or text within a currently open Custom HTML Prompt. The JavaScript is executed in all [Custom HTML Prompt](https:// | + | ====== |
| - | | + | The //Execute JavaScript in Custom HTML Prompt// action let you execute JavaScript in a [[action: |
| - | *display results in a window. | + | |
| - | *display results briefly. | + | {{ execute-javascript-in-custom-html-prompt-action.png? |
| - | *display results large. | + | |
| - | *type results. | + | This action allows you to execute a specified JavaScript, either from a file or text entered in the Action itself, and return the results. |
| - | *paste results. | + | |
| - | *save results to variable. | + | ===== Specify the Custom HTML Prompt ===== |
| - | *save results to the system clipboard or a named clipboard. | + | |
| - | *save results asynchronously | + | You can specify a [[action: |
| + | |||
| + | ===== Options for Returning Results ===== | ||
| + | |||
| + | | ||
| + | * display results in a window. | ||
| + | * display results briefly. | ||
| + | * display results large. | ||
| + | * type results. | ||
| + | * paste results. | ||
| + | * save results to variable. | ||
| + | * append | ||
| + | * save results to the system clipboard or a named clipboard. | ||
| + | * save results | ||
| + | * asynchronously | ||
| If the results are to be saved to a variable or a clipboard then further text areas appear in the action allowing you to specify the variable or specific clipboard. | If the results are to be saved to a variable or a clipboard then further text areas appear in the action allowing you to specify the variable or specific clipboard. | ||
| - | The JavaScript | + | ===== Using Keyboard Maestro Variables ===== |
| + | |||
| + | You can use the window.KeyboardMaestro | ||
| + | |||
| + | ===== See Also ===== | ||
| + | |||
| + | * [[actions: | ||
| + | * [[actions: | ||
| + | * [[actions: | ||
| + | * [[actions: | ||
| + | |||
| + | === Actions === | ||
| + | |||
| + | * [[action: | ||
| + | * [[: | ||
| + | |||
| + | ==== Forum ==== | ||
| + | - [[https:// | ||
action/Execute_a_JavaScript_in_Custom_Prompt.1461744280.txt.gz · Last modified: by peternlewis
