I want to program keys like this: Ctrl-Alt-1 copies a word (variable name) to named clipboard c1, Ctrl-Alt-2 to named clipboard c2, and so forth up to c9. Then, Alt-1 would paste the contents of clipboard c1 into the document, Alt-2 would paste clipboard c2, etc., up to Alt-9.
The aim is a facility where I can separately copy a bunch of variables, say, from var or int declarations, over to statements that use the variable names. When I need the first variable, I just hit Alt-1, and so on. I have found this technique to bump up my productivity a bunch with SAS code (using ED for Windows), but it would work with other languages, as well. It is much faster than using the single default clipboard for one variable at a time; I can pepper my code with one of the chosen set of variables very quickly, at will.
Can someone tell me exactly how I could do this? I am sure it can be done with macros, I just don't know the details.
(Update: I first posted this question in 2007, but I was unable to utilize the answer. Does anyone have a relatively simple solution to this need?)
Thanks!
Michael M./jqphantom