home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d9xx / d926 / jcgraph.lha / JcGraph / Rexx / AssignF7.rex < prev    next >
OS/2 REXX Batch file  |  1993-10-07  |  480b  |  18 lines

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