The Button condition looks for a standard Mac button in the front window.
It can find a button with a name that is exactly a specified string, containing a specified string, or matching a specified regular expression.
The condition can return true if:
Note that you can generally only detect standard Mac buttons, not custom buttons, nor buttons in web windows.