Page 1 of 1

Auto Start Macro on specified file

Posted: Thu Jan 19, 2006 12:20 pm
by Vejdirektoratet
In a batch-command, I want to use the powerful TextPad-macros for editing various ascii-files.

Is that possible?

I can startup TextPad by calling the .exe file followed by the name of the ascii-file like,

c:\> call c:\program files\textpad\textpad.exe c:\temp\ascii.txt

But after that I need it to run a macro like EXC01.tpm and finally close down TextPad again.

I was hoping that I could do something like:

c:\>call c:\program files\textpad\textpad.exe c:\temp\ascii.txt /tpm=EXC01.tpm

Posted: Thu Jan 19, 2006 3:17 pm
by Bob Hansen
The tool I use and recommend for that type of work is Macro Scheduler. Others will also suggest their favorite macro tools like AutoIt.