Mouse and keyboard
21 commands. Toolkit id ooa.desktop.
| Command | What it does |
|---|---|
| Block input | Stop the person's mouse and keyboard from interfering while the next steps run. Windows allows it only to agents running as administrator; input comes back after the time limit, with Unblock input, or when the run ends, and Ctrl+Alt+Del always works. |
| Capture screen | Save a screenshot of the whole screen, all screens, a region or a window as a PNG, JPEG or BMP file. |
| Clear clipboard | Empty the clipboard. |
| Copy to clipboard | Put text on the clipboard, replacing it or adding to what is there. |
| Get clipboard text | Read text from the clipboard, optionally waiting until text arrives (e.g. after pressing CTRL+C). |
| Get mouse position | Return where the mouse pointer is, in the same screen pixels Mouse click and Mouse move use. |
| Message box | Show a message to the person at the screen with a choice of buttons and an icon; it can close by itself after some seconds. |
| Mouse click | Click, double-click, or press or release a mouse button at a point on the screen or in a window. |
| Mouse move | Move the pointer to a point on the screen or in a window, at once or gradually. |
| Mouse scroll | Scroll the mouse wheel up, down, left or right, optionally over a chosen point or window. |
| Press keys | Press, hold down or release a key or key combination, e.g. ENTER, CTRL+S or ALT+F4, in the active or a chosen window; repeat if needed. |
| Prompt for file | Ask the user to choose one or more files, optionally of given types. |
| Prompt for folder | Ask the user to choose a folder. |
| Prompt for password | Ask the user for a password; the result is a Credential that is never shown or logged. |
| Prompt for value | Ask the user to type a value, optionally hidden as it is typed. |
| Prompt for yes/no | Ask the user a yes/no question. |
| Set lock keys | Turn Caps Lock, Num Lock or Scroll Lock on or off, so text typed later comes out as expected. |
| Show callout | Show a small note pointing at a place on the screen for a few seconds, e.g. to tell the person in an attended run which field the agent is about to fill. It takes no clicks and does not take the focus. |
| Type text | Type text, or a credential from the vault, into the active or a chosen window (text is pasted via the clipboard by default, which handles any language; a credential is always typed key by key and never logged); can include special keys such as [ENTER]. |
| Unblock input | Give the mouse and keyboard back after Block input, before its time limit. |
| Wait for mouse or key | Pause until the person at the runner presses a chosen key, any key, or clicks the mouse, e.g. 'press F9 when the form is ready' in an attended agent. |