Insert macro

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

lngzlz
Posts: 41
Joined: Wed Sep 21, 2005 10:43 pm

Insert macro

Postby lngzlz » Sat Feb 04, 2006 11:31 pm

I find that "Insert macro" does not works with "Replace" category filters. If only they are supported! :oops:

User avatar
DataMystic Support
Site Admin
Posts: 2136
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Postby DataMystic Support » Mon Feb 06, 2006 10:20 am

Not, it is not intended to work. Use an Add Footer or Add Header filter as a subfilter of the search/replace if you need to.

The reason they do not work is that this would seriously impact the speed of standard search/replace operations.

This has now been added to the documentation.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

lngzlz
Posts: 41
Joined: Wed Sep 21, 2005 10:43 pm

Postby lngzlz » Mon Feb 06, 2006 12:44 pm

Even if we use an Add Footer or Add Header filter as a subfilter of the search/replace, we can only use Macro at the start or end of file, not the middle of file. I want to insert Macro in the middle of a file. :oops:

User avatar
DataMystic Support
Site Admin
Posts: 2136
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Postby DataMystic Support » Mon Feb 06, 2006 12:51 pm

Wrong. :oops: Please read the tutorial on sub filters.

When you add a subfilter of a search/replace, it operates on the replacement text as though it is a new file. So, by using a pattern, you can insert the text wherever you like.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 1 guest