I have been working on a script that might help with your problem. It does not do exactly what you ask for, but what it does is look at whatever you just entered before you hit the hotkey to invoke the script, looks that item up in a file, and replaces it with one or more lines of text from the file. You will have to supply the lookup file unless it happens to be one of the files I have already created (1 for REXX and one for VBS). ...Regards, Russ
-- <http://forum.pspad.com/read.php?2,54195,54225> PSPad freeware editor http://www.pspad.com
