home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / jËzyki_programowania / amigae / e_v3.2a / tools / ee / rexx / open.rexx < prev    next >
OS/2 REXX Batch file  |  1977-12-31  |  343b  |  20 lines

  1. /* EE OpenNew - Open EE window and load arg <filename> */
  2.  
  3. ADDRESS COMMAND
  4. OPTIONS FAILAT 10
  5.  
  6. PARSE ARG filename
  7.  
  8. /* Start EE and/or wait for it's port to become registered. */
  9. IF ~Show(PORTS, 'EE.0') THEN 'Run E:bin/EE'
  10. DO WHILE ~Show(PORTS, 'EE.0')
  11.   CALL Delay(50)
  12. END
  13.  
  14. ADDRESS 'EE.0'
  15. OPTIONS RESULTS
  16.  
  17. LockWindow
  18. Open filename
  19. UnlockWindow
  20.