home *** CD-ROM | disk | FTP | other *** search
- /* MBPress example AREXX script #2 */
-
- /*------------------------------------------------------------------------*/
-
-
- /* Make sure MBPress and Wait are in your C: dir */
- /* Make sure MBPress2.rexx is in your Rexx: dir */
- /* Make sure Clock is in your Sys:Utilties dir */
- /* Now type RX MBPRESS2.REXX from a Shell and hit the left mouse button */
-
- /* NOTE: this Rexx script can easily be edited to do whatever you want */
-
- /* NOTE: You can add edit your s:User-Startup by adding this to it */
- /* RX Rexx:MBPress2.REXX */
-
- /* NOTE: If you do the above modification to your s:Startup-Sequence,
- it must be on a line located after you have started the ARexx
- process. */
-
-
- /*------------------------------------------------------------------------*/
-
- options results /* return result codes from host */
-
- address command 'c:Wait 1' /* wait 1 second before MBPress */
- address command 'c:MBPress' /* check for button presses */
- code = RC /* store result code */
-
- if code = 1 then address command 'Sys:utilities/Clock' /* run Clock */
-
-
- /*------------------------------------------------------------------------*/
-