Add a window trigger
Starts a bot when the predefined application window is opened or closed by the user.
On the left pane, click Automation.
A list of available bots and forms is displayed.
- Click .
Enter a name for the bot.
All the bots are stored in the \Bots folder. (Optional) Click Browse to change the folder.
- Click Create & edit.
- In the bot builder page, click .
Drag Window into Drag a trigger
The Window trigger: Window editing panel appears.
Click the Window drop-down menu and select
Refresh the Window drop-down menu if none of the available windows are listed.
Under the Window title field, click the
String tab to set the entire title of the selected
The Regex tab can be used to select a pattern that matches the selected window title. For example, if you select the Regex option in this scenario, the bot is triggered if the user opens any .xls file.
- Select Open from the Window action that start the bot drop-down manu.
Use the Assigned to drop-down menu to assign a
If you want use the Variables tab to create a variable, ensure you select the Use as input check box for it to appear in the Assigned to (optional) drop-down menu.
- Click Save.
.The preset trigger is created, and the bot is triggered when any user opens the Customer_database.xls document.