
Using a Connection Script | 79 |
execution will abort. The maximum string length is 64 characters, and the acceptable second is between
■The End command completes your script. The last line of your script must conclude with end.
Using the Configuration To create a connection script using the configuration buttons, do the following.
Buttons
1From the Script Configuration page, click Begin.
The text begin is entered as the first line in the script window.
2Click Delay to set a delay interval before executing the next line of the script. The Delay dialog box opens.
3Enter the amount of time in seconds that your script will wait before proceeding. This delay interval is used to allow the remote server time to process your request. Click OK when finished.
The text delay xx is entered in the script window.
4Click Set Port.
The Data Bits dialog box opens.
5Enter the number of Data Bits required by your service provider. Click OK when finished.
The Parity dialog box opens.
6Enter the Parity setting required by your service provider. Enter e if the remote server requires Even parity, o if the remote server requires Odd parity, or n if the remote server requires that parity be set to None. Click OK when finished.
The Stop Bits dialog box opens.
7Enter 1 to set the stop bits to one, or enter 2 to set the stop bits to two, and then click OK.
Note the results in the script window. For example, if you chose the default values for the Begin, Delay and SetPort parameters, the following text will have been automatically entered:
begin
delay 1
setport 8 n 1.
8Click WaitFor.
The WaitFor dialog box opens.
9Enter the string that the remote server will send as a request. An example might be the word Login: Click OK when finished.
10Enter the maximum number of seconds to wait for the remote server to send the connection request. Click OK when finished.
11Click Transmit.
The Transmit dialog box opens.
Enter the text that you want to transmit to the remote server. An example might be your username or password. Click OK when finished.