Event auto typing macro

The Typing Macro automatically executes once a connection has been established.

This feature simply uses a basic mechanism of sending keystrokes provided by the .NET Framework, emulating someone using the keyboard. It sends the keystrokes to the operating system itself, and they are handled by whatever application has the focus at that time. If the focus is switched to another window, the credentials will most likely be revealed by being typed in a text area.

Be advised that using this feature in an environment where passwords must be hidden from the user is highly discouraged.

!!KB4621
!!KB4621

Typing macros can also be added in the Login Button ID field of a website entry.

Select an entry – Properties – Login – Login button ID
Select an entry – Properties – Login – Login button ID

Typing macro

Keyboard keys are represented by predefined tags between braces. To specify a single keyboard character, use the character itself without braces. For example, represent the letter A by typing the "A" character in the typing macro. To represent more than one character, such as Hello, append each additional character to the preceding one: "Hello".

Special keys

To specify characters that are not displayed when you press a key, such as ENTER or TAB, as well as the keys that represents actions rather than characters, refer to the codes in the following table.

KEY CODE
Backspace {BACKSPACE}/{BS}/{BKSP}
Break {BREAK}
Caps lock {CAPSLOCK}
Ctrl+Alt+Del {CTRL-ALT-DEL}
Del/Delete {DEL}/{DELETE}
Down (arrow) {DOWN}
End {END}
Entrée {ENTER}
Esc {ESC}
Help {HELP}
Home {HOME}
Ins/Insert {INS}/{INSERT}
Add (keypad) {ADD}
Divide (keypad) {DIVIDE}
Multiply (keypad) {MULTIPLY}
Substract (keypad) {SUBTRACT}
Left (arrow) {LEFT}
Num lock {NUMLOCK}
Page down {PGDN}
Page up {PGUP}
Print screen {PRTSC}
Right (arrow) {RIGHT}
Scroll lock {SCROLLOCK}
Tab {TAB}
Up (arrow) {UP}
F1 {F1}
F2 {F2}
F3 {F3}
F4 {F4}
F5 {F5}
F6 {F6}
F7 {F7}
F8 {F8}
F9 {F9}
F10 {F10}
F11 {F11}
F12 {F12}
F13 {F13}
F14 {F14}
F15 {F15}
F16 {F16}

To specify keys combined with any combination of the Shift, Ctrl, and Alt keys, precede the key code with one or more of the following signs.

KEY CODE
Alt %
Ctrl ^
Shift +

To specify that any combination of the Shift, Ctrl, and Alt keys should be held down while several other keys are pressed, enclose the code for those keys in parentheses. For example, to specify to hold down Shift while E and C are pressed, use "+(EC)". To specify to hold down Shift while E is pressed, followed by C, without Shift, use "+EC".

Special commands

COMMANDS DESCRIPTION
{DELAY} This command introduces a configurable delay of 300 ms (default value) before the next command.
{PREV-WINDOW} Select the previous window before executing the remaining commands.
{SENDKEYS} {ENDSENDKEYS} This command is used in pair with the {ENDSENDKEYS} command. The text contained between those commands will be executed using .NET's default SendKey API, which does not work with the RDM-specific commands contained within this help topic. This command is often used when there are unsupported scenarios with the typing macro feature and using the default .NET SendKeys API works.
{WINDOW:???} This command focus a window containing the specified name after the colon.

Macro password

You can define a password to be used within the typing macro exclusively. Use the variable $MACRO_PASSWORD$ to access the password.

Devolutions Forum logo Give us Feedback