Read and Review Automation Anywhere Documentation

Automation 360

Close Contents

Contents

Open Contents

Add an interface trigger

  • Updated: 8/19/2021
    • Automation 360 v.x
    • Build
    • AARI
    • Process flow

Add an interface trigger

Use interface triggers to start a bot when a predefined action occurs on a specific interface element, such as clicking a button or closing an application.

This procedure is for a scenario where you want to configure a trigger to start a bot when the user clicks New option in Microsoft Word. Ensure you have the Microsoft Word application open on your system.
Note: Interface triggers for objects are available only for native Windows applications.

Procedure

  1. On the left pane, click Automation.
    A list of available bots and forms is displayed.
  2. Click Create new > Bot.
  3. Enter a name for the bot.
    All the bots are stored in the \Bots folder. Click Browse to change the folder.
  4. Click Create & edit.
  5. In the bot builder page, click Triggers > Interface trigger.
  6. Drag Object into Drag a trigger here.
    The Interface trigger: Object editing panel appears.
  7. In Window detail tab, click Application.
  8. Click the drop-down menu and select Taskbar under Preset.

    If Microsoft Word is not displayed in the list, you can use the Refresh option to reload the list of applications.

  9. Click Capture object.
    This initiates a built-in web recorder that captures the action. In this scenario, Microsoft Word is displayed. Click New, which is then set as the trigger to start the bot.
  10. Click the Select main event drop-down menu to choose a specific event.
    In this scenario, New in Microsoft Word is considered a button and the following events are available:
    • Click: Triggers the bot when the user clicks the selected main event object.
    • Click with hotkey: Use one of the available key modifiers and select a key (alphabetical letters) from the drop-down menu. This combination is set as the hot key to trigger the bot.
  11. Optional: Select one of the available Control keys (Shift, Alt, Ctrl, Windows and AltGr) as an additional combination for the hot key to trigger the bot.
  12. Click Save.
  13. Click Run > Run with triggers.
    The preset trigger is created, and the bot is triggered when the user clicks New in Microsoft Word.
Send Feedback