home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
tt2man.zip
/
ttautos.doc
< prev
next >
Wrap
Text File
|
1993-12-13
|
4KB
|
97 lines
TABLE OF CONTENTS
B. Appendix B - Sample AUTOPILOT Scripts
B.1 Overview
B.2 Defining Controls On A Dialog
B.3 Connecting To Information Services
B.4 Recording A Communications Session
B.5 A Calculator
B.6 A DDE Server And Client
B. Appendix B - Sample AUTOPILOT Scripts
B.1 Overview
Sample scripts are provided with TalkThru to help you in learning the
powerful applications you can develop using the AUTOPILOT language. All of
the scripts are contained in the directory pointed to by the
SCRIPT_DIRECTORY Customization Variable (usually C:\TALKTHRU\SCRIPTS).
Before using these scripts, please remember the following points:
1. All of the scripts begin with the letters TT. It is recommended that, if
you wish to modify these scripts, you make copies of them first. New
releases of TalkThru will overlay scripts of this name with updated
versions.
2. You can invoke an AUTOPILOT script from any OS/2 Session. Information on
how to run AUTOPILOT scripts is available in the Chapter, AUTOPILOT
Language Overview. If you wish, though, you may edit and run AUTOPILOT
scripts by selecting AUTOPILOT from any Phone Book or Terminal
Emulator's Utilities Pull Down Menu.
B.2 Defining Controls On A Dialog
The script TT_SAMPL provides an example of using the AUTOPILOT CREATE
DIALOG_WINDOW command to build a dialog with an Action Bar and all of the
dialog controls supported by AUTOPILOT. You may use this model to obtain
syntax for your own AUTOPILOT Programs.
B.3 Connecting To Information Services
Several sample scripts have been provided to help you logon to information
retrieval services. The sample scripts and the services they connect to are
in the following table:
Service Script Name
SCA Bulletin Board TT_BBS.SCR
Compuserv TT_CSERV.SCR
Official Airlines Guide TT_OAG.SCR
Dow Jones TT_DOW.SCR
Each of these scripts has an associated Phone Book entry in the SAMPLES
Phone Book distributed with the product. If you invoke any of these
scripts, you will be presented with a help screen which will provide
information on how to make them run with the associated Phone Book Entry.
B.4 Recording A Communications Session
The script TTRECORD.SCR is a fully functional application which will create
an AUTOPILOT script to automate a host session. It does this by allowing
you to live the host session while it is being created.
B.5 A Calculator
It seems the most popular sample is the Calculator. The script TT_CALC.SCR
demonstrates how you can use Entry Field and Push Button controls to
simulate the processing of a calculator.
B.6 A DDE Server And Client
Two scripts, TTSERVER and TTCLIENT provide an example of using AUTOPILOT as
a server and client for the purpose of Dynamic Data Exchange (DDE).