Page 1 of 1
How to Run Batch of Macros in Text pad
Posted: Mon Dec 15, 2008 6:10 am
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
Posted: Mon Dec 15, 2008 7:33 pm
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.
Posted: Tue Dec 16, 2008 6:19 am
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??
Note: macros when run indivudually 1 by 1 they work fine.
Posted: Tue Jan 06, 2009 7:58 pm
by kengrubb
Could you re-record Macro2 and include the CTRL-HOME command?