home *** CD-ROM | disk | FTP | other *** search
- /* AssignF6.rex */
- /* ------------ */
- /* Description: This script pops a file requester asking for an ARexx */
- /* script path. It will then assign it to the F6 key so */
- /* that the next time you hit F6, it will be executed. */
-
- options results
-
- address 'JCGRAPH'
-
- 'requestfile title=Assign_Script_to_F6 path=JcGraph:rexx'
-
- HisAssign=result
-
- if RC == 0 then do
- 'keyboard key=F6 cmd=' || HisAssign
- 'requestnotify F6 was assigned to ' HisAssign
- end