Writing Macros

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
mmasters
Posts: 2
Joined: Wed Aug 20, 2003 6:43 pm

Writing Macros

Post by mmasters »

I recently started using TextPad and am looking for a way to perform multiple serach & replace operations on a open file.

I tried using the record macro command but It doesn't look like I can edit the macro once it have been created. Is this true or am I missing something?

I would like to receive suggestions for the best way to create the macro.
Thanks

MJM
mmasters
Posts: 2
Joined: Wed Aug 20, 2003 6:43 pm

Macro Examples using Macro Scheduler

Post by mmasters »

Seems like alot of forum users like Macro Scheduler. Can anyone provide some examples on how to interact with TextPad? Specifically I am looking for Find & Replace.
Thanks

MJM
User avatar
webmasta
Posts: 168
Joined: Mon Jul 28, 2003 8:16 pm
Location: Toronto

Post by webmasta »

mmasters /
I tried using the record macro command but It doesn't look like I can edit the macro once it have been created. Is this true or am I missing something?
Correct.

Open the replace dialog /type ure search.replace terms /select conditions, scope etc ...
Macros /record....
Go back to the replace dialog and click replace all...
Go back to the replace dialog and do ure terms again.....
Go back to the replace dialog and click replace all...
Go back to the replace dialog and do ure terms again.....
Etc Etc then stop recording.....

Thats the long and short... for practical uses, theres nothing like try and try again to make sure you understand what ure doing and most importantly to see the way your macro runs under various circumstances...

If your only doing this operation on one file never to be repeated with same terms, macro would be a time waster
Post Reply