macaroni

control condition

Description:
The control condition checks to see if the in focus application control (or parents) exists and optionally matches a set of criteria, by checking the control ARIA roles and properties.

Parent: all, any, condition, conditions, none, not , wait

Value (simple form): string specifying the name or label of the control that must exist
Value (key/value form):

# simple form
control: (string)

# simple example
control: Cortana

# key/value form
control:
  type: (string, optional)
  name: (string, optional)
  label: (string, optional)
  enabled: (boolean, optional)
  onScreen: (boolean, optional)

# key/value example
control:
  name: Cortana
  type: window