Macro | Description |
---|---|
TERMBODY | Send an HTML BODY tag with JavaScript initializing cursor location |
TERMFORM | Send an HTML FORM header with current screen-session's URL and info |
TERMFORMEND | Send HTML Enter key and Horizontal Function key GIF for current session |
TERMFORMHKEYS | Send HTML Horizontal Function key GIF |
TERMFORMVKEYS | Send HTML Vertical Function key GIF |
TRANURL | Send a URL that will perform a call to a Transaction Section |
SESSIONID | Send the current session ID as text |
SESSIONKEY | Send the current session URL key |
CLOCKTICKS | Send a value representing a unique time value--used to create unique URL's |
SCREENID | Send the current screen name |
SENDKEYS | Create a URL that will send a keystring to the current screen |
Will generate the HTML <BODY> tag including an onLoad event call to the SS_SetCursor JavaScript function. The SS_SetCursor Javascript function is passed the ScreenSurfer field name (such as F_108_10) where the host currently has the cursor-- since this field may or may not exist in the generated form, the SS_SetCursor function checks for its existance prior to calling the focus() method of the field. Note that if you want to include your own onLoad() event call you simply need to include a JavaScript (or VBScript) function in the same page declared as function userLoadScript(cursor_pos){...}. This function will then be called by SS_SetCursor during the onLoad event.
To include additional <BODY> tag HTML attributes, such as color definitions for the active document page, include a text expression following the TERMBODY keyword (hint: use single-quotes for your expression so it is easy to include any double-quotes in your extra HTML).
Terminal emulator HTML Form tag with session URL-- integrates with the current session to assure that form entries are directed to the right session and have appropriate authentication, screen identification and timestamp information. Note: this tag has been replaced with the <TEFORM> tag
ENTER Key HTML Input button along with PF Keys GIF integrated with the TERMFORM macro.
Outputs the HTML to create a horizontal PF and other AID keys GIF for inclusion at the bottom of an emulation screen area. This is similar to the TERMFORMEND macro, but doesn't include table formatting HTML, nor does it include the </FORM> tag.
Outputs the HTML to create a vertical enter-key, PF key and other AID keys GIF for inclusion at either side of an emulation screen area. This format can be preferable when physical screen sizes are limited and both a full emulation screen and the PF keys need to be visible at the same time.
There are two vertical GIF files for the PF Key and AID keys, one with PF13-24 and the other without (just PF1-12). To display the shorter of the two (just PF1-12), use the optional SHORT keyword, as in: <TEMACRO TERMFORMVKEYS "SHORT">
Outputs a URL which when sent to ScreenSurfer will execute the transaction defined in TransactionExpression. Note that TransactionExpression may be any text expression, including the use of variables.
TEMACRO TRANURL Example | |||
---|---|---|---|
| |||
|
Current Session ID number
Current Session ID combined with user's "connection key"
Current clockticks--handy for generating unique URL
Current screen name.
HTML URL which when submitted will send the keys defined in KeystrokeTextExpression to the active session-- must have an ENTER or other AID key such as a PF key at end of string in order to advance screen to the next screen. This is very handy for providing links on text displayed in the page, as menu selections.
For a complete list of the available host keys that may be included in the KeystrokeTextExpression, see Valid Keystroke Mnemonics for Host Keys.
For example, if the user can press the F1 key to obtain help, than the following HTML will provide a link: