How to run macro on multiple files

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
sg94k6r2
Posts: 5
Joined: Fri Nov 14, 2003 3:44 pm

How to run macro on multiple files

Post by sg94k6r2 »

I have a macro that I need to run on 100 files - can anyone guide me how to do that in one shot rather than running it on each file?

Thank you very much!
Lostclown
Posts: 8
Joined: Fri Oct 15, 2004 1:12 pm
Location: Iceland

Post by Lostclown »

-Create your macro and make it end by going to the next document (Ctrl-Tab)
-Open all documents
-Run the macro with "Macros -> Multi-play" and select "Specified number or times" with the number the same as your document count.

Note that your macro should probably do save before you make it go the next document.
Also you can't make a macro close a document (don't know why) and therefore I use the go-to-next trick instead.
spleensahoy
Posts: 1
Joined: Tue Nov 11, 2008 4:16 pm

Post by spleensahoy »

Thanks a ton for this tip!

It's going to save me hours, if not days, of work!

:P
Post Reply