PDA

View Full Version : Shortcut Keys



Guest.Visitor
05-22-2002, 09:15 AM
I'm trying to find a way to pull up a source member if it's not in the list of recently edited source members. What I currently do is this: hit escape, then type in "lx <>abclib/qrpglesrc(abc100)" What I would like to do is have one letter short cut abbreviations such as: "lx <>a/r(100)" would mean that "a" should be changed to "abclib" and "r" becomes "qrpglesrc" and "100" is "abc100" because it's in abclib. I've been trying to modify parseName in the adtswin/mymacros directory but no luck. TIA for any pointers you can give.

Matt.Tyler
06-07-2002, 10:28 AM
Here is what I did to allow CL types to use the SEE prefix command (which by the way is the same thing as the LX command you type on the command line, just much more flexible). 1- I made copies of the CL types langauage profiles in my user macro folder (renaming them to *.LXU). 2 - I deleted all but the first comment. 3 - Then I copied the following line from RPG400.LXL; 'SET ACTIONPREFIX.SEE ;SET PREFIXENTRY;MACRO SRCVIEW BROWSE'; into each CL prfile language macro. 4- I copied RPGINC.LX to my macro folder and modified it to make it work for me. Actually, i just commented out the line that only allows the macro to run on RPG source types. 5 - I closed and restarted. The action prefix now brings up the browse prompt asking me to specify a member to browse. Now you will probably need to modify the macro a bit more so that it new what the one character values represented. This is the area I am not experienced enough in, but I assume you can gleen something out of the (ahem) "on-line help" or maybe there is someone else out there willing to lend a hand for you in REXX macros. You might also want to change the action prefix command name to something like LS for Load Source. -- Thanks, Matt Tyler mattt@wincofoods.com "Chipper Miller" <Chipper@MailOps.com> wrote in message news:acgj6v$lt4$1@news.boulder.ibm.com... > I'm trying to find a way to pull up a source member if it's not in the list > of recently edited source members. What I currently do is this: > hit escape, then type in "lx <>abclib/qrpglesrc(abc100)" > > What I would like to do is have one letter short cut abbreviations such as: > > "lx <>a/r(100)" would mean that "a" should be changed to "abclib" and "r" > becomes "qrpglesrc" and "100" is "abc100" because it's in abclib. > > I've been trying to modify parseName in the adtswin/mymacros directory but > no luck. TIA for any pointers you can give. > >