3 ms·
Keyboard macros are a killer feature. I recently got a 10 page spec for a data file format. I didn't want to type all that stuff in. I used an OCR program to sc
by silverlake 17y ago
Keyboard macros are a killer feature. I recently got a 10 page spec for a data file format. I didn't want to type all that stuff in. I used an OCR program to scan the text (~80% correct), then used Emacs to clean it up into a table. Then I copied a rectangle of all field names and used a keyboard macro to convert it into the XML format I required. Then I wrote a script to convert each type specifier into the type I needed. I was able to get everything working in a day.