Let us say we want our assistant bot to start automating only when we trigger an event. For example, the user wants his Robot to open and start typing in the Notepad window when he presses Alt + W. This can be achieved using the Hotkey trigger. Also, inside the Event handler, just create or record the sequence of steps to be followed. The detailed procedure has been explained in the following sections:
- Drag and drop the Monitor events activity: In this step, we will just drag and drop the Monitor events activity into the workflow. When we double-click on it, it will look like this:
- Drag the Hotkey trigger activity: In the next step, we will use the Hotkey trigger activity for the user to start the automation process. Assign Alt + W to the hotkey so that, when the user presses this hotkey, the event will be executed:
- Open Notepad...