home *** CD-ROM | disk | FTP | other *** search
- /* BackTalk ARexx script */
- /* sample logon script */
-
- options results
- if ~show('l', "rexxsupport.library") then
- addlib('rexxsupport.library',0,-30,0)
-
- address command "run >NIL: BackTalk <NIL:"
- waitforport BT_REXX
- address BT_REXX
-
- call delay 50
-
- BLOCK
- QSIZE
- if result = "FULL" then
- SPLIT
-
- call delay 100
-
- GETSTRING "Enter the phone number to dial"
- num = result
-
- SENDNCR "atmdt "
- SEND num
- WAITFOR "CONNECT"
- call delay 50
- SENDNCR "^C"
- WAITFOR "User ID:"
- call delay 50
- DISPLAYOFF
- FKEY F2 /* this is an fkey macro, it sends my ppn and password */
- /* in the form of 77777,1234\\password */
-
- call delay 100
- DISPLAYON
- FONT "Courier" "13"
- WAITFOR "!"
- SEND "G AmigaUser"
- WAITFOR "Forum !"
- OPENCAPTURE "ram:testing"
- SEND "UST"
- WAITFOR "Forum !"
- CLOSECAPTURE
- SEND "BYE"
- QUIT
-