Trigger Loop
10 commands. Toolkit id ooa.triggerloop.
| Command | What it does |
|---|---|
| Each click in a window | Windows only. Run the nested steps each time the person clicks in a given window, optionally only on a given element (name, type, automation id as captured). The event gives the button, the window title, the process and the element's name, type and automation id; never screen contents. Clicks made by programs are ignored. |
| Each event on an open form | Run the nested steps each time the person presses a button, changes a field or submits the open form (Display form with Wait off); the loop ends when the form closes. |
| Each new e-mail, record or item | Read a loop type (such as Each email in a mailbox, Outlook, Exchange or Gmail) or a command's list (such as ServiceNow Query records) again and again, and run the nested steps for each item not seen before, or changed since. |
| Each new or changed file in folder | Wait for files (or folders) to appear, change, go or be renamed in a folder and run the nested steps once for each; gives the change, path, name, size and time (UTC, like every DateTime). |
| Each time a key is pressed | Windows only. Run the nested steps each time the named key or combination (such as F9, CTRL+ENTER or SHIFT+F2) is pressed, optionally only while a given window is in front. Typed text is never recorded: the event gives only the key, the window title and the process. The key still reaches the application. |
| Each time a program starts or stops | Watch for a program (by executable name, e.g. excel or notepad.exe) to start, or to stop, and run the nested steps for each process. |
| Each time a service changes state | Windows only. Watch a service and run the nested steps when it starts, stops, pauses or resumes; gives the change and the new state. |
| Each time a window opens or closes | Watch for a window whose title fits a pattern to open, or to close, and run the nested steps for each; gives the change and the window's title. |
| Every interval | Run the nested steps on a fixed interval, e.g. every 60 seconds; gives the tick number and time (UTC). |
| Program is running | True when at least one process with this executable name is running. |