> Are there any other approaches besides this
I'd do it differently. There is a very nice program called AutoIT that
does exactly what is needed.
And to keep this on topic, NoteTab would be a great tool to write the
.AUT files with the commands in and with clips you could automate it for
As an example texts copied from a website often start far from the
leftmost colomn. I mark the superfluous spaces in one line with
<Ctrl><C> and then run the following in Notepad+:
MsgBox, 1, Typomat, Jetzt los?
IfMsgBox, CANCEL, Goto, denied
where ^x is <Ctrl><X> and !x is <Alt><X>.
This is especially nice if there are a whole bunch of files to do.