Anthony,
I liked your scripts you posted before better than the idea of trying anything VI related. I have run into VI screens before, and if you don't have access to a manual while doing so, it's quite an adventure.
I tried one of Ged's ideas, and over the weekend I resurected my vintage early 1990's 386 (modified to 486 eventually) lunchbox portable (from before laptops were invented), and even though it started smoking and there was a putrid smell of burning plastic, I was able to pull out the SCSI hard drive and controller, and remount them in a newer server case from 1997, and I got it booted up on DOS 6.0 (linux wasn't happy). Then I used Norton's disk doctor to go through the diskettes I have left, and get a few good ones to work with, and I copied my utilities, including Norton Commander, the disk test parts of Norton Utilities, and my Brief editor, including all the macros and macro source, etc, etc, all to folders, then zipped each, and wrote them to the floppys, and used an old USB floppy drive I have from 2000 to copy them all to my current linux system, tested and extracted them all, and then changed the setup for a color screen (without a manual, yikes, where did it go), and brought it up under DOSbox, and lo and behold it works, keyboard macros and all, with the exception that I need to remap DOSbox's control keys so they don't conflict with the window manager or Norton Commander or Brief. I was able to bring up 50 files and automatically edit them all, and it came up in seconds, so its not perfect, as I have 8.3 upper case filenames, but at least I now have a way to record a series of edits, save them to files and play it back automatically from hot keys for one file or many if I really need to.
Admittedly, the DOSbox and 30 yr old customized editor are probably not the best long term solution. My thoughts at this point are to either:
1. use Autokey, that would probably just work at the price of 36 mb of memory
2. as Ged suggested spend the time to learn and use and/or remap an editor like emacs that has keyboard macros. He is correct that I wasn't aware it had a CUA mode, I guess my Google search string wasn't good enough to bring that to light.
3. if I could get Jed working with my mouse, it would be an option, as its a "Brief clone".
4. maybe Grief or Crisp open source version might work, who knows, but they don't look to be supported, so probably not a great idea
5. or learn enough C++ (and how to debug it) to add just a "Keyboard Macro Record" feature to the Tilde editor, with just Start, Pause, and Stop functions (i.e. very basic), and get it to write to a hard coded text file, optimally that I can then execute with xdotool, or if not, maybe have an intermediate process to convert the output into a file that can be executed by xdotool. Not sure that's worth the effort, either.
Anyway, thanks everyone for the suggestions...
BobC