Skip to main content

Mouse and keyboard

21 commands. Toolkit id ooa.desktop.

CommandWhat it does
Block inputStop 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 screenSave a screenshot of the whole screen, all screens, a region or a window as a PNG, JPEG or BMP file.
Clear clipboardEmpty the clipboard.
Copy to clipboardPut text on the clipboard, replacing it or adding to what is there.
Get clipboard textRead text from the clipboard, optionally waiting until text arrives (e.g. after pressing CTRL+C).
Get mouse positionReturn where the mouse pointer is, in the same screen pixels Mouse click and Mouse move use.
Message boxShow 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 clickClick, double-click, or press or release a mouse button at a point on the screen or in a window.
Mouse moveMove the pointer to a point on the screen or in a window, at once or gradually.
Mouse scrollScroll the mouse wheel up, down, left or right, optionally over a chosen point or window.
Press keysPress, 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 fileAsk the user to choose one or more files, optionally of given types.
Prompt for folderAsk the user to choose a folder.
Prompt for passwordAsk the user for a password; the result is a Credential that is never shown or logged.
Prompt for valueAsk the user to type a value, optionally hidden as it is typed.
Prompt for yes/noAsk the user a yes/no question.
Set lock keysTurn Caps Lock, Num Lock or Scroll Lock on or off, so text typed later comes out as expected.
Show calloutShow 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 textType 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 inputGive the mouse and keyboard back after Block input, before its time limit.
Wait for mouse or keyPause 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.