On Jan 23, 2013, at 11:16, Adam Engst <[email protected]> wrote: > What I'm trying to do is create a text _factory_ that does a few standard > grep replacements, and then calls something else to do this renumbering > (since there's no other way to do the renumbering from within a text factory > that I can think of). ______________________________________________________________________
Hey Adam, The most efficient way to do this would be to do all the replacements in Perl. Ronald, or JD, or another prop-jet-head can give you a template for the find/replace that you can replicate and edit yourself. Absent that I'd write it all as one Applescript (which can contain the Perl) rather than futz around with the pieces of a TextFactory. -- Take Care, Chris -- -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
