Imprivata OneSign Keycodes and Variables
Imprivata provides a keystroke vocabulary that lets you modify keystroke commands and text strings managed by the Imprivata APG. You can use the Imprivata OneSign keystroke vocabulary in all credential fields.
-
The Keyboard Simulation tool makes available commonly used keystroke codes. You use keystroke codes to represent single non-text keys or key combinations, such as Shift+F4.
-
You can concatenate Imprivata OneSign keystroke codes. However, you cannot use logical operators, wildcards, or escape characters.
-
You can use the Shift (+), Alt (%), or Ctrl (^) key modifiers to modify some keystrokes. The key modifiers affect only the single character immediately following the keystroke, so +f2 sends F2, not F@. You cannot group modifiers, so to send F@, enter +f+2.
-
Enclose the keycodes in braces ({}) to prevent Imprivata OneSign from interpreting them as text. For example, to send the combination Shift+Delete, enter +{DEL}.
NOTE: Keystroke codes are often used in conjunction with Credential Variables, which are the keycodes used to represent usernames, passwords, and other user-entered variable text values. For a list of credential variables, see List of Imprivata OneSign Credential Variables


Key Code |
Usage |
Mouse Click Codes (take no modifiers) (see note below) |
|
{CLICK x,y WindowClassName, WindowCaption}
|
CLICK and DBCLICK simulate a mouse left button click or double-click at (x,y) pixels within the control. If x,y is not specified then the middle of the control is used. The x,y value should have no spaces. This is the equivalent to issuing CTLCURSOR and LBTNCLICK or LBTNDBCLICK. CTLCURSOR positions the cursor at (x,y) within the control.
|
|
Simulates a left mouse button click at the current cursor location. |
|
Simulates a left mouse button double click at the current cursor location. |
|
Simulates a right mouse button click at current cursor location. |
|
Simulates a right mouse button double click at current cursor location. |
NOTE: You cannot proxy mouse click codes on computers that have the mouse primary and secondary buttons switched. For example, a left-handed user who has customized the mouse button settings through the Windows Control Panel clicks the right mouse button as the primary button. |

Key Code |
Usage |
Codes for Variables and Delays (take no modifiers) |
|
{VAR name} option: {VAR nameMIN xMAX y} option: {VAR name UPCASE} option: {VAR name LOWCASE} |
Performs variable substitution and replaces the entire compound statement with the associated value. If there is no way to directly specify a control, you can use this tag to send the specified credentials to a form. Add the MIN x and MAX y arguments to set a minimum and/or a maximum length for name.
To guarantee the length of the value, set x = y. The UPCASE and LOWCASE arguments force Imprivata OneSign to proxy the variable as uppercase or lowercase characters, regardless of how they are entered. For a list of credential variables, see List of Imprivata OneSign Credential Variables. |
|
n is the number of milliseconds to wait between keystrokes. The default value for n is 0. |
|
Issues all key codes up to this command, and then waits for >n milliseconds. Use this to set focus and then do a wait for focus later. |
Macro Codes (take no modifiers) | |
|
Activate a window by the className and/or by specifying its caption. You can use wildcards in defining either of these parameters. |
|
Activate an application menu or menu option by specifying its name and/or menu sequence. This feature only works for applications with very simple menus. |

Variable Code |
Meaning |
|
Username |
|
Password |
|
New Password |
|
Confirm Password |
|
Second Password |
|
New Second Password |
|
Confirm Second Password |
|
Third Password |
|
New Third Password |
|
Confirm Third Password |
|
PIN |
|
Domain |
|
Group |
|
PatientSecure Search ID |
|
Site |
{VAR X LOWCASE} |
Submit uppercase variables Submit lowercase variables |