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

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