Skip to main content

14. Hll class (version 1.4.0)

Introduction

The Hll class gives the script engine access to Hll terminal emulators. When a hll pattern matches the emulator screen, a hll object of class Hll will be crated and can be used by the action script.

Attributes

sessionId

string

Full URL of the document.

sessionName

string

Contains the domain of the page.

columns

int

Numer of columns.

rows

int

Number of rows.

Methods

getCursorLocation

returns object with row and column attributes

Gets the cursor location.

setCursorLocation

row: integer

column: integer

Changes cursor location.

getContent

returns String

Gets the terminal emulator screen content.

sendText

text: string

Send text to host.

sendKeyskeys:stringSend text, possibly containing escape sequences.

Escape sequence

The following escape sequence are defined:

Mnemonic
Meaning
3270
5250
VT
@BLeft TabYesYesNo
@CClearYesYesNo
@DDeleteYesYesNo
@EEnterYesYesNo
@FErase EOFYesYesNo
@HHelpNoYesNo
@IInsertYesYesNo
@JJump (Set Focus)YesYesNo
@LCursor LeftYesYesYes
@NNew LineYesYesYes
@OSpaceYesYesYes
@PPrintYesYesYes
@RResetYesYesNo
@TRight TabYesYesYes
@UCursor UpYesYesYes
@VCursor DownYesYesYes
@X*DBCS (Reserved)YesYesNo
@ZCursor RightYesYesYes
@0HomeYesYesNo
@1PF1/F1YesYesNo
@2PF2/F2YesYesNo
@3PF3/F3YesYesNo
@4PF4/F4YesYesNo
@5PF5/F5YesYesNo
@6PF6/F6YesYesYes
@7PF7/F7YesYesYes
@8PF8/F8YesYesYes
@9PF9/F9YesYesYes
@aPF10/F10YesYesYes
@bPF11/F11YesYesYes
@cPF12/F12YesYesYes
@dPF13YesYesYes
@ePF14YesYesYes
@fPF15YesYesYes
@gPF16YesYesYes
@hPF17YesYesYes
@iPF18YesYesYes
@jPF19YesYesYes
@kPF20YesYesYes
@lPF21YesYesNo
@mPF22YesYesNo
@nPF23YesYesNo
@oPF24YesYesNo
@qEndYesYesNo
@uPage UpNoYesNo
@vPage DownNoYesNo
@xPA1YesYesNo
@yPA2YesYesNo
@zPA3YesYesNo
@A@CTestNoYesNo
@A@DWord DeleteYesYesNo
@A@EField ExitYesYesNo
@A@FErase InputYesYesNo
@A@HSystem RequestYesYesNo
@A@IInsert ToggleYesYesNo
@A@JCursor SelectYesYesNo
@A@LCursor Left FastYesYesNo
@A@QAttentionYesYesNo
@A@RDevice Cancel (Cancels Print Presentation Space)YesYesNo
@A@TPrint Presentation SpaceYesYesYes
@A@UCursor Up FastYesYesNo
@A@VCursor Down FastYesYesNo
@A@ZCursor Right FastYesYesNo
@A@9Reverse VideoYesYesNo
@A@bUnderscoreYesNoNo
@A@cReset Reverse VideoYesNoNo
@A@dRedYesNoNo
@A@ePinkYesNoNo
@A@fGreenYesNoNo
@A@gYellowYesNoNo
@A@hBlueYesNoNo
@A@iTurquoiseYesNoNo
@A@jWhiteYesNoNo
@A@lReset Host ColorsYesNoNo
@A@tPrint (Personal Computer)YesYesNo
@A@yForward Word TabYesYesNo
@A@zBackward Word TabYesYesNo
@A@-Field -NoYesNo
@A@+Field +NoYesNo
@A@<Record BackspaceNoYesNo
@S@EPrint Presentation Space on HostNoYesNo
@S@xDupYesYesNo
@S@yField MarkYesYesNo

@W@C

Edit Copy

Yes

Yes

Yes

@W@D

Edit Clear

Yes

Yes

Yes

@W@E

Edit Copy Append

Yes

Yes

Yes

@W@L

Edit Copy Link

Yes

Yes

Yes

@W@N

Edit Paste Next

Yes

Yes

Yes

@W@V

Edit Paste

Yes

Yes

Yes

@W@X

Edit Cut

Yes

Yes

Yes

@W@Z

Edit Undo

Yes

Yes

Yes

@X@1Display SO/SIYesYesNo
@X@5Generate SO/SINoYesNo
@X@6Display AttributeNoYesNo
@X@7Forward CharacterNoYesNo
@X@cSplit Vertical BarNoYesNo
@M@0VT Numeric Pad 0NoNoYes
@M@1VT Numeric Pad 1NoNoYes
@M@2VT Numeric Pad 2NoNoYes
@M@3VT Numeric Pad 3NoNoYes
@M@4VT Numeric Pad 4NoNoYes
@M@5VT Numeric Pad 5NoNoYes
@M@6VT Numeric Pad 6NoNoYes
@M@7VT Numeric Pad 7NoNoYes
@M@8VT Numeric Pad 8NoNoYes
@M@9VT Numeric Pad 9NoNoYes
@M@-VT Numeric Pad -NoNoYes
@M@,VT Numeric Pad ,NoNoYes
@M@.VT Numeric Pad .NoNoYes
@M@eVT Numeric Pad EnterNoNoYes
@M@fVT Edit FindNoNoYes
@M@iVT Edit InsertNoNoYes
@M@rVT Edit RemoveNoNoYes
@M@sVT Edit SelectNoNoYes
@M@pVT Edit Previous ScreenNoNoYes
@M@nVT Edit Next ScreenNoNoYes
@M@aVT PF1NoNoYes
@M@bVT PF2NoNoYes
@M@cVT PF3NoNoYes
@M@dVT PF4NoNoYes
@M@hVT HOld ScreenNoNoYes
@M@(space)Control Code NULNoNoYes
@M@AControl Code SOHNoNoYes
@M@BControl Code STXNoNoYes
@M@CControl Code ETXNoNoYes
@M@DControl Code EOTNoNoYes
@M@EControl Code ENQNoNoYes
@M@FControl Code ACKNoNoYes
@M@GControl Code BELNoNoYes
@M@HControl Code BSNoNoYes
@M@IControl Code HTNoNoYes
@M@JControl Code LFNoNoYes
@M@KControl Code VTNoNoYes
@M@LControl Code FFNoNoYes
@M@MControl Code CRNoNoYes
@M@NControl Code SONoNoYes
@M@OControl Code SINoNoYes
@M@PControl Code DLENoNoYes
@M@QControl Code DC1NoNoYes
@M@RControl Code DC2NoNoYes
@M@SControl Code DC3NoNoYes
@M@TControl Code DC4NoNoYes
@M@UControl Code NAKNoNoYes
@M@VControl Code SYNNoNoYes
@M@WControl Code ETBNoNoYes
@M@XControl Code CANNoNoYes
@M@YControl Code EMNoNoYes
@M@ZControl Code SUBNoNoYes
@M@uControl Code ESCNoNoYes
@M@vControl Code FSNoNoYes
@M@wControl Code GSNoNoYes
@M@xControl Code RSNoNoYes
@M@yControl Code USNoNoYes
@M@zControl Code DELNoNoYes
@Q@AVT User Defined Key 6NoNoYes
@Q@BVT User Defined Key 7NoNoYes
@Q@CVT User Defined Key 8NoNoYes
@Q@DVT User Defined Key 9NoNoYes
@Q@EVT User Defined Key 10NoNoYes
@Q@FVT User Defined Key 11NoNoYes
@Q@GVT User Defined Key 12NoNoYes
@Q@HVT User Defined Key 13NoNoYes
@Q@IVT User Defined Key 14NoNoYes
@Q@JVT User Defined Key 15NoNoYes
@Q@KVT User Defined Key 16NoNoYes
@Q@LVT User Defined Key 17NoNoYes
@Q@MVT User Defined Key 18NoNoYes
@Q@NVT User Defined Key 19NoNoYes
@Q@0VT User Defined Key 20NoNoYes
@Q@aVT BacktabNoNoYes
@Q@rVT Clear PageNoNoYes
@Q@sVT EditNoNoYes
@@@YesYesYes
@$Alternate Cursor (The Presentation Manager Interface only)YesYesYes
@<BackspaceYesYesYes
@:@sScreen ReverseYesYesYes
@:@nBidi LayerYesYesYes
@:@lLatin LayerYesYesYes
@:@FField ReverseYesYesNo
@:@pPushYesNoNo
@:@eEnd PushYesNoNo
@:@aAuto PushYesNoNo
@:@rAuto ReverseYesNoNo
@:@dCSDYesNoNo
@:@fFinalYesNoNo
@:@iIsolatedYesNoNo
@:@mMiddleYesNoNo
@:@tInitialYesNoNo
@:@hField ShapeYesNoNo
@:@uField BaseYesNoNo
@:@bBaseNoYesNo
@:@oCloseNoYesNo
@:@KColumn HeadingNoNoYes
@:@BCursor DirectionNoNoYes
@:@DEncoding ModeNoNoYes
@:@MVT Change Display ModeNoNoYes (Hebrew only)