Just thought of one possible implementation that might fit in with the existing
PSPad scripting: make a function CtrlQHandler (activated with shortcut Ctrl-Q)
that waited for the next keystroke and handled it according to whatever it was:
function CtrlQHandler() {
var key;
key = pspad.getNextKeyStroke();
if (key == "Ctrl-R")
command("ecEditorTop");
else if (key == "Ctrl-C")
command("ecEditorBottom");
...
}
Problem is, I don't think something like getNextKeyStroke() exists.
Just a thought...
-Ben
--
<http://forum.pspad.com/read.php?2,42511,42512>
PSPad freeware editor http://www.pspad.com