Skip to main content

Trigger Loop

10 commands. Toolkit id ooa.triggerloop.

CommandWhat it does
Each click in a windowWindows 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 formRun 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 itemRead 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 folderWait 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 pressedWindows 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 stopsWatch 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 stateWindows 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 closesWatch 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 intervalRun the nested steps on a fixed interval, e.g. every 60 seconds; gives the tick number and time (UTC).
Program is runningTrue when at least one process with this executable name is running.