Adding a Window Detection Rule

Window detection rules enable you to apply the same property conditions and text to all new wizards that share the same window detection properties (for example, a window caption in Microsoft Outlook that contains a specific username).

Rules are added from within a wizard you are currently working on in the Wizard Editor. The option to add a rule becomes available the first time you manually change a window property.

To add a window detection rule:

  1. Click the Create a rule link that appears the first time you change a window property

    The New Rule dialog box appears

  2. In the New Rule dialog box, select or clear the If checkboxes to add or remove rule conditions

  3. Click a rule condition’s dropdown list to select an operator, which qualifies the rule condition

    Example

    If the recorded window's caption is Inbox – abraham.lincoln@gettysburg.com – Microsoft Outlook, you might select the ends with Microsoft Outlook operator to make the condition applicable to a broader range of scenarios.

  4. Click the Show more conditions link to add rule conditions

  5. Select or clear the Then checkboxes to add or remove rule actions

  6. Click a rule action’s dropdown list to select an operator, which qualifies the rule action

  7. Click OK to apply the rule

The rule is added to the Studio Rule Manager and will now be applied to every new wizard recorded.

Window detection rules are applied only to new wizards recorded after the rule was created:

  • Rules are not applied to wizards existing at the time the rule was created

  • Rules are not applied to the wizard you are working on at the time the rule is created

    • For information about applying window detection properties to similar steps within the wizard you are currently working on, see Apply to all similar steps

For more information about viewing and managing rules in the Studio Rule Manager, see Managing Window Detection Rules.