home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #3 / amigamamagazinepolishissue1998.iso / bazy / fiasco_2.1 / arexx / unlockgui.frx < prev    next >
Text File  |  1997-10-06  |  517b  |  35 lines

  1. /* UnlockGUI.frx
  2.  * Script to unlock the GUI of Fiasco, if other scripts forgot it
  3.  * Copyright © 1995-1997 Nils Bandener
  4.  * $VER: UnlockGUI.frx 6.3 (6.10.97)
  5.  */
  6.  
  7. /*
  8.  * Fiasco will complain once, if ARexx-Debug is activated.
  9.  */
  10.  
  11. /*
  12.  * Find Fiasco port
  13.  */
  14.  
  15. ports = show("Ports")
  16.  
  17. do i = 1 to words(ports)
  18.  
  19.     if abbrev(word(ports, i), "FIASCO.") then
  20.     do
  21.         Address Value word(ports, i)
  22.  
  23.         do forever
  24.  
  25.             UnlockGUI
  26.  
  27.             if rc ~= 0 then break
  28.  
  29.         end
  30.  
  31.         break
  32.     end
  33. end
  34.  
  35.