home *** CD-ROM | disk | FTP | other *** search
- /*
- CTAdd
- Written By J.L. White
- (C)1995 Merlin's Software
-
- This script waits till the Flyer software is running then adds
- a program to the menu option in the Flyer software. It was
- designed to be run from the StartToaster file in Toaster:Programs
- You can edit the file to add your own programs.
-
- You need to add the following line to the StartToaster file:
- rx >NIL: CT:ARexx/CTAdd.rexx
-
- */
-
- OPTIONS RESULTS
- do while (POS('PROJECT_REXX_PORT',SHOW('Ports')) = 0)
- address command "C:Wait 3"
- end
- TOASTERLIB="ToasterARexx.port"
- call remlib('ToasterARexx.port')
- call remlib('PROJECT_REXX_PORT')
- call addlib('PROJECT_REXX_PORT' , 0)
- call addlib(TOASTERLIB,0)
- call Addprogram("Control Tower","run CT:CT 1",0)
- call remlib('ToasterARexx.port')
- call remlib('PROJECT_REXX_PORT')
-
- exit
-