User Tools

Site Tools


action:Prompt_for_Snippet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
action:Prompt_for_Snippet [2023/09/13 09:04] – created peternlewisaction:Prompt_for_Snippet [2023/10/31 02:25] (current) – [Output of Results] peternlewis
Line 1: Line 1:
 ====== Prompt For Snippet Action ====== ====== Prompt For Snippet Action ======
  
-_Prompt For Snippet_ allows you to create a snippet built from a template with fields entered when you execute the macro.+The _Prompt For Snippet_ action (v11.0+) allows you to create a snippet built from a template with fields entered when you execute the macro.
  
 The snippet defines the template using the [[token:Ask|%Ask%]] token, which can include a size and a default value. The snippet defines the template using the [[token:Ask|%Ask%]] token, which can include a size and a default value.
Line 15: Line 15:
 ==== Output of Results ==== ==== Output of Results ====
  
-The results of a shell script can be: +The results of the prompt can be:
- +
-  * Ignored. +
-  * Displayed in a floating window. +
-  * Displayed briefly in a Notification. +
-  * Displayed large across the screen. +
-  * Typed in to the current selection. +
-  * Pasted in to the current selection. +
-  * Saved to a variable. +
-  * Appended to a variable (v9.0+). +
-  * Saved to the system or a Named Clipboard. +
-  * Saved to a file. +
-  * Asynchronously ignored — the action runs while the macro continues on.+
  
 +{{page>include:ScriptOutput#}}
 ==== Result Button ==== ==== Result Button ====
  
Line 51: Line 40:
 === Tokens === === Tokens ===
  
 +* [[token:Ask|%Ask%]] token
 * [[token:AlertButton|%AlertButton%]] token * [[token:AlertButton|%AlertButton%]] token
 * [[token:PromptButton|%PromptButton%]] token * [[token:PromptButton|%PromptButton%]] token
action/Prompt_for_Snippet.1694595880.txt.gz · Last modified: by peternlewis

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki