Can only be used when you don't use a #Ctrl-ID argument.
The text to type into this area.
The ID number of the control that the text will be typed in.
Description:
Used to enter data (for example, usernames and passwords) into windows. You can specify a #Ctrl-ID as an argument after the text argument that will be entered.
If you use the #Ctrl-ID argument, the text is sent directly to the window. As a further aid to entering text into a specific field or #Ctrl-ID, SecureLogin provides custom keys for Tab and Enter. If you don't specify the #Ctrl-ID, SecureLogin sends keystrokes to whichever control has focus.
Only use the -raw flag when you don't use the #Ctrl-ID argument. By default, when SecureLogin types into a window, SecureLogin verifies that the window exists before continuing.
This verification process is disabled when the -raw flag is set, causing SecureLogin to log in to whichever window has focus. This is useful for typing after a Delay that is a step in the login process.
Example:
Dialog Title "Login" Ctrl #1 EndDialog Type $Username #1 Type $Password #2 Click #1
Type Commands Used with Windows
SecureLogin can send special keyboard keystrokes to Windows and Internet-based applications to emulate the user's keyboard entry. These special commands include the ability to select Menu items, send ALT, and send other keyboard combinations.
The following table illustrates keyboard sequences that you can use to select a menu item within an application:
Desired Result
Sequence
Select a file
Type \Alt+F
Select a tool
Type T
Select Change Password
Type C
Select a given option
Type \Alt+x Type \Ctr+x Type \Shift+x
Send the Backspace key
Type \b
Send the Delete key
Type \d
Send the End key
Type \e
Send the Home key
Type \h
Send the Enter key
Type \N Type \n
Send the Tab key
Type \T
Send the Shift-Tab keys
Type \-T
Send the value of the password variable to the control ID #1056
Type $Password #1056
The following commands pass keystrokes through the script to the window that the script is working in.
To Send This Result
Type This Sequence
The Spacebar
Type \|32
The End key
Type \|35
The Home key
Type \|36
The Left-arrow key
Type \|37
The Up-arrow key
Type \|38
The Right-arrow key
Type \|39
The Down-arrow key
Type \|40
Type Commands Used with the Web
The following table provides information about the Type command used with the Web.
To Send This Result
Type This Sequence
The Enter key
Type \N Type \n
The Tab key
Type \T Type \t
Send the value of the password variable to the control ID #1056
Type $Password #1056
Hidden passwords
Type $Password Password
NOTE: Always add password to the end of any $Password variable lines in the script. The SecureLogin method of scripting requires that a password field is defined by using the password flag.
Type Commands Used with Terminal Launcher
Terminal Launcher uses the High Level Language Application Programming Interface (HLLAPI) to interface with a wide range of mainframe emulators which implement this programming standard.
The following table lists the @ commands that you can use in the SecureLogin script Type command. These commands perform specific emulator and mainframe functions. For example, you can send an Enter, Tab, or cursor key or issue a mainframe emulator print screen or reset function.
The @ commands are used in script language in the following format: