User Tools

Site Tools


action:Alert

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
action:Alert [2017/09/06 02:02]
peternlewis
action:Alert [2019/07/09 22:57] (current)
peternlewis
Line 1: Line 1:
-The Alert action displays an alert in a separate window. The alert may contain static text which you enter in the Comment field. The comment field can also contain Text Tokens such as the name of the macro, a variable, a date, the clipboard or numerous other tokens.+The //Alert// action displays an alert in a separate window. The alert may contain static text which you enter in the Comment field. The comment field can also contain Text Tokens such as the name of the macro, a variable, a date, the clipboard or numerous other tokens.
  
 You may also change the title for the alert. You may also change the title for the alert.
 +
 +You can optionally set a sound (v8+) to be played when the alert is displayed.
  
 The alert provides two buttons: The alert provides two buttons:
Line 7: Line 9:
   - Continue — allows the macro to continue and execute following actions.   - Continue — allows the macro to continue and execute following actions.
  
-If the macro continues, the [[token:​AlertButton|%AlertButton%]] token (v8+) is set tot he name of the resulting button (Continue).+If the macro continues, the [[token:​AlertButton|%AlertButton%]] token (v8+) is set to the name of the resulting button (Continue).
  
 ===== See Also ===== ===== See Also =====
  
-=== Actions ===+==== Actions ​====
  
 * [[action:​Custom_HTML_Prompt|Custom HTML Prompt]] action * [[action:​Custom_HTML_Prompt|Custom HTML Prompt]] action
 +* [[action:​Get_Touch_Bar_Selection|Get Touch Bar Selection]] action
 * [[action:​Prompt_for_User_Input|Prompt for User Input]] action * [[action:​Prompt_for_User_Input|Prompt for User Input]] action
 * [[action:​Show_Palette_of_Macros|Show Palette of Macros]] action * [[action:​Show_Palette_of_Macros|Show Palette of Macros]] action
 * [[:​Actions|See all Actions]] * [[:​Actions|See all Actions]]
  
-=== Tokens ===+==== Tokens ​====
  
 * [[token:​AlertButton|%AlertButton%]] token * [[token:​AlertButton|%AlertButton%]] token
 * [[token:​PromptButton|%PromptButton%]] token * [[token:​PromptButton|%PromptButton%]] token
 * [[token:​HTMLResult|%HTMLResult%]] token * [[token:​HTMLResult|%HTMLResult%]] token
 +
 +==== Forum ====
 +
 +* [[https://​forum.keyboardmaestro.com/​t/​feature-request-play-sound-set-to-asynchronous/​7354|[Feature Request] Play Sound: Set to Asynchronous]]
 +
action/Alert.1504677733.txt.gz · Last modified: 2017/09/06 02:02 by peternlewis