home *** CD-ROM | disk | FTP | other *** search
/ Computer Buyer 1998 June / dpcb0698.iso / Web / VisPage / symantec.bin / HSCRIPT.SCP next >
Text File  |  1996-12-04  |  2KB  |  52 lines

  1. ;  Script Command       Arguments
  2. ;  --------------------------------------------------------
  3. ;  "WaitForStr"         one to ten strings to match
  4. ;  "WaitForChar"        a string of characters to match
  5. ;  "SendStr"            a string
  6. ;  "SendChar"           a character
  7. ;  "SendPass"           an encrypted password
  8. ;  "Sleep"              sleep time in milliseconds
  9. ;  "Dial" or "Call"     phone number
  10. ;  "Download"           starts Zmodem receive mode
  11. ;  "HangUp"             none
  12. ;  "Do" or "DoScript"   script label followed by up to ten string arguments
  13. ;  "IfMatch"            one string - true if "WaitForStr" matched this string 
  14. ;  "Else"               executes if last "IfMatch was false
  15. ;  "Endif"                 end of "IfMatch
  16. ;  "EndScript"            required last statement of a script
  17. ;  "Error"                a number or a string that matches a script error message
  18. ;
  19. ; Strings can be enlosed in single or double quotes.
  20. ; If a string is not enclosed in quotes the script processor assumes it is a single word.
  21. ; Any string that starts with a ';' or '#' is treated as a comment line.
  22. ; String or character matches are NOT case sensitive.
  23.  
  24.  
  25.  
  26.  
  27. SYMLogin:
  28.     waitforstring "otherwise"
  29.     sendstring %1
  30.     sendstring \r
  31.     waitforstring "B,Z"
  32.     sendstring B\r
  33.     endscript
  34.  
  35. SYMDwnld:
  36.     waitforstring letter
  37.     sendstring D\r
  38.     waitforstring "file name to find"
  39.     sendstring %1
  40.     waitforstring "download option"
  41.     sendstring Z\r
  42.     download %2
  43.     endscript
  44.  
  45. SYMLogoff:
  46.     waitforstring letter
  47.     sendstring X\r
  48.     waitforstring "re-logon"
  49.     sendstring Y\r
  50.     HangUp
  51.     endscript
  52.