User Tools

Site Tools


action:Press_a_Button

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
Next revision Both sides next revision
action:Press_a_Button [2015/07/06 18:47]
mirazjordan
action:Press_a_Button [2022/09/06 01:46]
peternlewis wait until the button exists option
Line 1: Line 1:
-The Press a Button action presses a named button in the front window.+====== Press a Button Action ====== 
 + 
 +The //Press a Button// action presses a named button in the front window.
  
 Note: button names may be case sensitive. Remember too that sometimes buttons change names, for example //Show sidebar// may become //Hide sidebar// after being pressed. Note: button names may be case sensitive. Remember too that sometimes buttons change names, for example //Show sidebar// may become //Hide sidebar// after being pressed.
 +
 +The action allows you to specify multiple options separated by a vertical bar (eg This|That) to allow for toggling or varying buttons. They will also ignore the difference between three dots (\.\.\.) and an ellipsis (…) so you do not have to worry which one is used. 
 +
 +Alternatively,​ you can start the name with an ^ and use a regular expression to match the button name. 
 +
 +As of v7.1+, you can use Text Tokens in the field.
 +
 +As of v10.2 there is an option (in the action (gear) ⚙ menu) to have this action wait until the button exists and is enabled and then press it.
 +
 +===== See Also =====
 +
 +=== Actions ===
 +
 +* [[action:​Move_or_Click_Mouse|Move or Click Mouse]] action
 +* [[action:​Type_a_Keystroke|Type a Keystroke]] action
 +* [[:​Actions|All Actions]]
 +
 +
action/Press_a_Button.txt · Last modified: 2023/09/15 04:10 by peternlewis