Type

Item Description

Use with:

Terminal Launcher, Web, and Windows

SecureLogin version:

All

Type:

Action

Usage:

Type [-raw] text [#Ctrl-ID]

Arguments:

[-raw]

text

[#Ctrl-ID]

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:

The Type Command Meaning The Type Command Meaning

@B

Left Tab

@A@C

Test

@C

Clear

@A@D

Word Delete

@D

Delete

@A@E

Field Exit

@E

Enter

@A@F

Erase Input

@F

Erase EOF

@A@H

System Request

@H

Help

@A@I

Insert Toggle

@I

Insert

@A@J

Cursor Select

@J

Jump (Set Focus)

@A@L

Cursor Left Fast

@L

Cursor Left

@A@Q

Attention

@N

New Line

@A@R

Device Cancel (Cancels Print Presentation Space)

@O

Space

@A@T

Print Presentation Space

@P

Print

@A@U

Cursor Up Fast

@R

Reset

@A@V

Cursor Down Fast

@T

Right Tab

@A@Z

Cursor Right Fast

@U

Cursor Up

@A@9

Reverse Video

@V

Cursor Down

@A@b

Underscore

@X*

DBCS (Reserved)

@A@c

Reset Reverse Video

@Y

Caps Lock (No action)

@A@d

Red

@Z

Cursor Right

@A@e

Pink

@0

Home

@A@f

Green

@1

PF1/F1

@A@g

Yellow

@2

PF2/F2

@A@h

Blue

@3

PF3/F3

@A@i

Turquoise

@4

PF4/F4

@A@l

Reset Host Colors

@5

PF5/F5

@A@j

White

@6

PF6/F6

@A@t

Print (Personal Computer)

@7

PF7/F7

@A@y

Forward Word Tab

@8

PF8/F8

@A@z

Backward Word Tab

@9

PF9/F9

@A@-

Field -

@a

PF10/F10

@A@<

Record Backspace

@b

PF11/F11

@A@+

Field +

@c

PF12/F12

@S@x

Dup

@d

PF13

@S@E

Print Presentation Space or Host

@e

PF14

@S@y

Field Mark

@f

PF15

@X@c

Split Vertical Bar ()

@g

PF16

@X@7

Forward Character

@h

PF17

@X@6

Display Attribute

@i

PF18

@X@5

Generate SO/SI

@j

PF19

@X@1

Display SO/SI

@k

PF20

@M@0

VT Numeric Pad 0

@l

PF21

@M@1

VT Numeric Pad 1

@m

PF22

@M@2

VT Numeric Pad 2

@n

PF23

@m@3

VT Numeric Pad 3

@o

PF24

@M@4

VT Numeric Pad 4

@q

End

@M@5

VT Numeric Pad 5

@s

ScrLk (No action)

@M@6

VT Numeric Pad 6

@t

Num Lock (No action)

@M@7

VT Numeric Pad 7

@u

Page Up

@M@8

VT Numeric Pad 8

@v

Page Down

@M@9

VT Numeric Pad 9

@x

PA1

@M@-

VT Numeric Pad

@y

PA2

@M@,

VT Numeric Pad

@z

PA3

@M@.

VT Numeric Pad

@M@h

VT Hold Screen

@M@e

VT Numeric Pad Enter

@M@N

Control Code SO

@M@f

VT Edit Find

@M@M

Control Code CR

@M@i

VT Edit Insert

@M@L

Control Code FF

@M@r

VT Edit Remove

@M@K

Control Code VT

@M@s

VT Edit Select

@M@J

Control Code LF

@M@p

VT Edit Previous Screen

@M@I

Control Code HT

@M@n

VT Edit Next Screen

@M@H

Control Code BS

@M@a

VT PF1

@M@G

Control Code BEL

@M@b

VT PF2

@M@F

Control Code ACK

@M@c

VT PF3

@M@(space)

Control Code NUL

@M@d

VT PF4

@M@E

Control Code ENQ

@M@O

ControlCode S1

@M@D

Control Code EOT

@M@Q

ControlCode DC1

@M@C

Control Code ETX

@M@P

ControlCode DLE

@M@B

Control Code STX

@M@A

ControlCode SOH