82
C
HAPTER
7: P
LACING
, R
ECEIVING
AND
D
ISCONNECTING
C
ALLS
Creating a Connection
Script
You can choose to manually create a script from within a text editor of your choice
and copy and paste the script directly into the Script Configuration text box. Or
you may use the buttons located along the left side of the script window to guide
you through the scripting process.
Connection Script Command Syntax
The following section explains the valid script command syntax.
■
The Begin command (
begin
) initiates the script. The first line of the script must
start with
begin
.
■
The Delay command (
delay
second)
designates a length of time to wait before
sending the next command in the script. The acceptable values are between
1-60 seconds.
■
The SetPort command (
setport
databit, parity, stopbit)
allows you to
match the script to the communication port settings of the remote server. The
valid
databit
is
8
or
7
. The valid
parity
is
none
,
even
, or
odd
. The valid
stopbit
is
either
1
or
2
.
■
The Transmit command (
transmit
“text string”
)
sends a text string to the
remote server. An example of a transmit string might be your account
username or password. This text must be included between the quotation
marks. A carriage return is simulated by the characters
^M
within the quotation
marks
.
The maximum length for this string is 64 characters.
■
The WaitFor command (
waitfor
“string, second”
) allows you to designate
the text that the script will wait for before proceeding. An example of text that
you might wait for is the string
Username
, for which you would send your
username as a reply. If the timeout period elapses before a matching string is
received, the script execution will abort. The maximum
string
length is 64
characters, and the acceptable
second
is between 1-60.
■
The End command completes your script. The last line of your script must
conclude with
end
.
Using the Configuration
Buttons
To create a connection script using the configuration buttons, do the following.
1
From the Script Configuration page, click
Begin
.
The text
begin
is entered as the first line in the script window.
2
Click
Delay
to set a delay interval before executing the next line of the script.
The Delay dialog box opens.
3
Enter 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.
4
Click
Set Port
.
The Data Bits dialog box opens.
5
Enter the number of Data Bits required by your service provider. Click
OK
when
finished.
The Parity dialog box opens.
Summary of Contents for OfficeConnect 3C8861
Page 10: ......
Page 18: ...18 CHAPTER 1 INTRODUCTION...
Page 26: ...26 CHAPTER 2 56K LAN MODEM FUNCTIONALITY DESCRIPTION...
Page 34: ...34 CHAPTER 3 HARDWARE DESCRIPTION AND INSTALLATION...
Page 44: ...44 CHAPTER 4 SETTING UP TCP IP FOR WINDOWS AND MACINTOSH...
Page 56: ...56 CHAPTER 5 CONFIGURING THE 56K LAN MODEM...
Page 76: ...76 CHAPTER 6 ADVANCED CONFIGURATION...
Page 94: ...94 CHAPTER 8 TROUBLESHOOTING AND MAINTENANCE...
Page 100: ...100 APPENDIX A NETWORKING PRIMER...
Page 104: ...104 APPENDIX C FACTORY DEFAULTS...
Page 106: ...106 APPENDIX D SPECIFICATIONS...
Page 110: ...110 GLOSSARY...
Page 112: ...112...
Page 116: ......