The Wintouch Emulation Script Designer is an easy to use tool for the Wintouch Administrator. Using this "Application Developer" the administrator can create, edit and enable emulation applications for the Wintouch user in specifically selected terminal emulation sessions. The design window is divided into three main panes, the Available Commands, Script (Source Code), and Command Properties (Parameters). Get to this screen from the AS/400 Applications window by double-clicking on a Script cell and then by clicking the button that appears at the far right of this cell.
This structure is an expandable tree with branch functions and related leaf commands. To expand the tree click on a folder icon.
AID Functions (attention identification codes)
A byte sequence that is generated when the operator presses certain function keys
Attn/SysRq Functions: The only other functions besides the AID functions that transmit data to the host.
Clone Functions:.
Copy Functions: These functions copy from the screen to the clipboard, starting at the specified position. If the specified position is within a field, "COPY" skips characters that are not in fields, while "COPYALL" does not. If the specified position is not in a field, "COPY" behaves exactly like "COPYALL". "COPYBOX" copies all the characters within the rectangular area of the screen defined by the coordinates, much like the "rubber-band copy" function.
Read Functions: These functions copy from the screen into a variable, starting at the specified position. If the specified position is within a field, "READ" skips characters that are not in fields, while "READALL" does not. If the specified position is not in a field, "READ" behaves exactly like "READALL".
Tab Functions: These functions move the cursor from one field to another. The cursor will be moved to the beginning of the first field beginning after its present position, the last field beginning before its present position, or the first field of the next line, respectively.
Adding Commands to a script
To add to a script, double-click on the command in the Available Commands pane. By doing this a Command Properties (Parameters) window will be displayed. Enter all necessary parameters.
As commands are added from the available list, the Script Source Code pane displays a Tree structure of those commands in their added sequence.
Editing a command in a script
To edit a script command, double-click on the command in the Available Commands pane. By doing this a Command Properties (Parameters) window will be displayed. Edit all necessary parameters.
Edit: The Edit button opens the Command Properties (Parameters) window of a highlighted Script Source Code command.
Remove From Source: This button removes the highlighted Script Source Code command from the script.
This section of the Script Designer is a display only area. Highlight a script command in the Script Source Code pane to see its properties here. For example, the "At" command below has a Row value of 4 and a Column value of 30 which is displayed in the Command Properties area.
OK: Select this button to save changes to the script and exit the window.
Cancel: Exits the window or dialog screen without saving any changes or additions made in the fields.
Help: This button displays online help in a new window.