User Tools

Site Tools


condition:Button

**This is an old revision of the document!**

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:

  • a matching button exists.
  • a matching button does not exists.
  • a matching button is enabled.
  • no matching button is enabled.
  • a matching button exists but is disabled.
  • a button (usually a checkbox) exists and is off.
  • a button (usually a checkbox) exists and is on.
  • a button (usually a checkbox) exists and is mixed.

Note that you can generally only detect standard Mac buttons, not custom buttons, nor buttons in web windows.

condition/Button.1436859857.txt.gz · Last modified: 2015/07/14 03:44 by peternlewis