How to Run Batch of Macros in Text pad

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
ankur.jain
Posts: 3
Joined: Fri Dec 12, 2008 8:07 am

How to Run Batch of Macros in Text pad

Post by ankur.jain »

Hi,
I have recorded few macros to make my life easier.. but everytime I have to do a job I have to run all macros one by one mannualy. Can anybody help me by providing me the way to create a batch of macros to and also the way to run them.

thnx
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

Assign hot keys to each of the macros. Assuming 10 macros:

Option 1:
Have macro 9 call macro 10 with the hot key.
Have macro 8 call macro 0 with the hot key.
......
.....
Have macro 1 call macro 2 with the hot key
---------------------------------------------------

Option 2:
Have macro 1 perform its tasks, then, using hot keys, call macro2, then call macro3, then call macro 4..............finally call macro 10.
------------------------------------------------------

Remember that you are not able to edit your macros, so be sure that the first command on each one of them moves the cursor to the correct position before processing its steps, usually CTL-HOME to go to the beginning of the document.
Hope this was helpful.............good luck,
Bob
ankur.jain
Posts: 3
Joined: Fri Dec 12, 2008 8:07 am

Post by ankur.jain »

Thanks bob for that wonderful option.

I tried this one it work but with a small problem actually macros that i am using, search a keyword on the page, and changes a part of it. It works fine when I run them individually However, when I tried to create another macro which will call macro 1 and then press ctrl+ home then call macro 2 .....macro 9. It gives me error even while recording I keep on recieving error message "cannot find expression" though it has done its job till the end of the document but still I don't why it keeps searching for?? :cry:


Note: macros when run indivudually 1 by 1 they work fine.
User avatar
kengrubb
Posts: 324
Joined: Thu Dec 11, 2003 5:23 pm
Location: Olympia, WA, USA

Post by kengrubb »

Could you re-record Macro2 and include the CTRL-HOME command?
(2[Bb]|[^2].|.[^Bb])

That is the question.
Post Reply