home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
515.lha
/
BackTalk_v1.40
/
rexx_examples
/
cis.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1991-06-08
|
797b
|
45 lines
/* 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
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