Starts a bot when the predefined application window is opened or
closed by the user.
This procedure is for a scenario where you want to configure a trigger to start a
bot when any user opens a Microsoft Excel document called
Customer_database.xls. Before you configure this window
trigger, ensure that you have opened the Customer_database.xls
document on your system so that you can select this window.
Procedure
On the left pane, click Automation.
A list of available bots and forms is
displayed.
Click Create new > Bot.
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 Triggers > Window trigger.
Drag Window into Drag a trigger
here.
The Window trigger: Window editing panel appears.
Click the Window drop-down menu and select
Customer_database.xls.
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
window.
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.
Optional: Use the Assigned to drop-down menu to assign a
variable.
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.
Click Run > Run with triggers.
The preset trigger is created, and the bot is triggered
when any user opens the Customer_database.xls document.