To configure the Pop-up Watcher:
-
In the Solution Explorer, double-click
popupwatcher.xaml.
The popupwatcher flowchart opens in the Workflow pane. Here you can define which pop-ups you want to act on and what actions you want to take.
-
In the Activities pane, locate On Foreground
Window and drag the activity into the workflow.
The Outputs dialog box is displayed.
- Optional. To set the value for the argument Window, enter a name for the variable or select a variable from the list.
- Click Okay.
- Double-click the On Foreground activity to expand it.
-
Click Indicate on screen.
The Indicate Element dialog box is displayed.
- Indicate the type of pop-up window you want to address.
-
Double-click the Do element.
- Drag a Close Window activity into the Do flowchart.