home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 3 Comm / 03-Comm.zip / tt2man.zip / ttautos.doc < prev    next >
Text File  |  1993-12-13  |  4KB  |  97 lines

  1.  
  2.                              TABLE OF CONTENTS                              
  3.  
  4.  
  5.           B. Appendix B - Sample AUTOPILOT Scripts
  6.             B.1 Overview
  7.             B.2 Defining Controls On A Dialog
  8.             B.3 Connecting To Information Services
  9.             B.4 Recording A Communications Session
  10.             B.5 A Calculator
  11.             B.6 A DDE Server And Client
  12.  
  13.                   B. Appendix B - Sample AUTOPILOT Scripts                  
  14.  
  15.  
  16.                                 B.1 Overview                                
  17.  
  18.  
  19. Sample scripts are provided with  TalkThru  to  help  you  in  learning  the
  20. powerful applications you can develop using the AUTOPILOT language.  All  of
  21. the  scripts  are  contained  in  the  directory  pointed  to  by  the
  22. SCRIPT_DIRECTORY Customization Variable (usually C:\TALKTHRU\SCRIPTS).
  23.  
  24. Before using these scripts, please remember the following points:
  25.  
  26. 1. All of the scripts begin with the letters TT. It is recommended that,  if
  27.    you wish to modify these scripts, you make copies of  them  first.    New
  28.    releases of TalkThru will overlay  scripts  of  this  name  with  updated
  29.    versions.
  30.  
  31. 2. You can invoke an AUTOPILOT script from any OS/2 Session. Information  on
  32.    how to run AUTOPILOT scripts  is  available  in  the  Chapter,  AUTOPILOT
  33.    Language Overview.  If you wish, though, you may edit and  run  AUTOPILOT
  34.    scripts  by  selecting  AUTOPILOT  from  any  Phone  Book  or  Terminal
  35.    Emulator's Utilities Pull Down Menu.
  36.  
  37.  
  38.  
  39.  
  40.                      B.2 Defining Controls On A Dialog                      
  41.  
  42.  
  43. The script TT_SAMPL provides  an  example  of  using  the  AUTOPILOT  CREATE
  44. DIALOG_WINDOW command to build a dialog with an Action Bar and  all  of  the
  45. dialog controls supported by AUTOPILOT.  You may use this  model  to  obtain
  46. syntax for your own AUTOPILOT Programs.
  47.  
  48.  
  49.  
  50.  
  51.                    B.3 Connecting To Information Services                   
  52.  
  53.  
  54. Several sample scripts have been provided to help you logon  to  information
  55. retrieval services. The sample scripts and the services they connect to  are
  56. in the following table:
  57.  
  58.   Service                            Script Name
  59.   SCA Bulletin Board                 TT_BBS.SCR
  60.   Compuserv                          TT_CSERV.SCR
  61.   Official Airlines Guide            TT_OAG.SCR
  62.   Dow Jones                          TT_DOW.SCR
  63.  
  64. Each of these scripts has an associated Phone  Book  entry  in  the  SAMPLES
  65. Phone Book distributed with the  product.    If  you  invoke  any  of  these
  66. scripts, you will be  presented  with  a  help  screen  which  will  provide
  67. information on how to make them run with the associated Phone Book Entry.
  68.  
  69.  
  70.  
  71.  
  72.                    B.4 Recording A Communications Session                   
  73.  
  74.  
  75. The script TTRECORD.SCR is a fully functional application which will  create
  76. an AUTOPILOT script to automate a host session.  It does  this  by  allowing
  77. you to live the host session while it is being created.
  78.  
  79.  
  80.  
  81.  
  82.                               B.5 A Calculator                              
  83.  
  84.  
  85. It seems the most popular sample is the Calculator.  The script  TT_CALC.SCR
  86. demonstrates how you can  use  Entry  Field  and  Push  Button  controls  to
  87. simulate the processing of a calculator.
  88.  
  89.  
  90.  
  91.  
  92.                         B.6 A DDE Server And Client                         
  93.  
  94.  
  95. Two scripts, TTSERVER and TTCLIENT provide an example of using AUTOPILOT  as
  96. a server and client for the purpose of Dynamic Data Exchange (DDE).
  97.