home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2002 July / APC0702D1.iso / isp / tpgi / HelpDesk / scripts / Win95 / TPGI_95.scp < prev    next >
Encoding:
Text File  |  2000-09-24  |  1.2 KB  |  38 lines

  1. ;...........................Start of Script..............................
  2. ;This script is designed for use with TPG Internet login procedures
  3. ;
  4. ; Main entry point to script
  5. ;
  6. proc main 
  7. ;    Delay for 3 seconds first to allow host time
  8. ;    to send initial characters.
  9. delay 1
  10. ;    prod the Communications server with a carriage return
  11. transmit "^M"
  12. ;    Wait for the login prompt before entering
  13. ;    the user ID 
  14. waitfor "sername:"
  15. ;delay 2
  16. ;    $USERID contains the Username taken from the Connect screen
  17. transmit $USERID
  18. transmit "^M"
  19. ;    Send the password which was entered in the connect screen
  20. waitfor "assword:"
  21. ;delay 2
  22. transmit $PASSWORD
  23. transmit "^M"
  24. ;    Wait while the Comms server verifys the Username & Password
  25. ;    after which the menu is displayed 
  26. ;    If you find the choice prompt is slow to appear, activate "delay 2" and "transmit 
  27. ;    "^M"" so that the script waits for 2 seconds and then enters a second
  28. ;    carrage return to repeat the prompt.
  29. ;delay 2
  30. ;transmit "^M"
  31. waitfor "hoice:" 
  32. ;    Choose PPP connection
  33. ;delay 2
  34. transmit "ppp"
  35. transmit "^m" 
  36. delay 1
  37. endproc
  38. ;...........................End of Script..............................