home *** CD-ROM | disk | FTP | other *** search
/ World of A1200 / World_Of_A1200.iso / programs / misc / jcgraph / rexx / assignf8.rex < prev    next >
OS/2 REXX Batch file  |  1995-02-27  |  480b  |  18 lines

  1. /* AssignF8.rex */
  2. /* ------------ */
  3. /* Description: This script pops a file requester asking for an ARexx */
  4. /*              script path. It will then assign it to the F8 key so  */
  5. /*              that the next time you hit F8, it will be executed.   */
  6.  
  7. options results
  8.  
  9. address 'JCGRAPH'
  10.  
  11. 'requestfile title=Assign_Script_to_F8 path=JcGraph:rexx'
  12.  
  13. HisAssign=result
  14.  
  15. if RC == 0 then do
  16.   'keyboard key=F8 cmd=' || HisAssign
  17.   'requestnotify F8 was assigned to  ' HisAssign
  18. end