After adding a "Script" field (Open the Editor >> More >> Fields >> Add field >> Field type: "Script"), write a script in the space provided. You can program the sequence of keyboard key presses and mouse clicks to be executed by "Fill Form" and "Fill & Submit" / "Login" commands (see below).
A Script is a sequence of commands, separated by space characters (Spaces, tabulation, new lines):
<command1> <command2> <command3>
‘#’ is a comment symbol. Part of the string from '#' to the end of the line is ignored.
Text commands are used to send characters to the application window, emulating keyboard input.
1) Literal string
A quoted character string, ANSI or UNICODE is sent to the application window.
Escape codes like \n, \r, \t are not supported.
2) Password and User ID fields
$p - a string from Password field
$u - type value of the User ID field
3) Other Passcard fields
<field_name> can be specified partially i.e. only control ID or caption
4) Special keys
Available key names:
SPACE, TAB, ENTER, ESC,
UP, DOWN, LEFT, RIGHT,
HOME, END, PGUP, PGDOWN,
INS, DEL, BACK, F1- F12
SHIFT CTRL ALT
press and release key
press a key
release a key
Mouse click emulation
Mouse click at coordinates specified relatively to left top corner of window
<seconds> - a number of seconds, it can have a fractional part. Fraction must be separated with a point. There must be a space between the command and the number.
This label separates filling and submitting parts of the script. The part after the label is executed only by 'Fill & Submit' command and not by 'Fill Forms'.
Clear text field
This command is a shortcut for the following sequence of script commands:
HOME SHIFT+ END SHIFT- DELETE
Switch to Active Window
To prevent the typing of private/sensitive information into the wrong window, RoboForm prevents typing and mouse click to any windows other than the window selected as the target of 'Fill Forms' or 'Fill & Submit' commands. The POPUP command switches the target to the current active window.
*100,200 # click at (100,200) in the window
"uoydellortI" TAB # type string and press TAB key
$u TAB # type value of User ID field and press TAB key
$p TAB # type value of Password field and press TAB key
DELAY 1.5 # delay for 1.5 seconds
SUBMIT: # next lines are used to submit the data
SHIFT+ ENTER SHIFT- # press SHIFT+ENTER
Using GoTo URL and Match URL in Passcard
Is used to start the application and provide command-line parameters.
The 'exe://' prefix specifies that this Passcard is used for fill data in a Windows application and not in a web browser.
<path_to_executable> - full path to the application executable file. RoboForm uses this path to start the application. E.g. C:\WINDOWS\explorer.exe
<command_line_arguments> - command line arguments that should be passed to the application.
Is used to find the exact window for the Passcard.
<name_of_executable> - file name of the application executable file without extension. E.g: explorer
<window_title> - text of the window title. It can contain '*' as a wildcard at the start or the end. Samples:
exe://<name_of_executable>/<window_title> - exact match
exe://<name_of_executable> - any title
exe://<name_of_executable>/* - any title