Sorry .. jumping in late.
You might want to check out our FileTools plugin. It has a Process Files
option that will export all files in a book as the specified file type
(MIF for example), then it will run the specified command line on each
of those files (could specify a Perl or other script), then it will
import the resulting files back into the book and replace the original
FM files (all from one command) ..
http://leximation.com/tools/info/filetools.php
Only slight problem is that FileTools has not yet officially been
updated for FM8 or FM9 (yes .. we're a bit behind, I know) .. but if you
contact me directly, I can point you at a beta version that does mostly
work with FM8/9. The Process Files command does work to do MIF-based
search/replace processing (I just tested it).
The 30-day trial will let you validate that it does the job without
needing to pay for it.
Let me know if you have any questions.
...scott
Scott Prentice
Leximation, Inc.
www.leximation.com
+1.415.485.1892
Combs, Richard wrote:
Scott Turner wrote:
The alternative to making a script, is to use a full-featured text editor
like TextPad. The feature you are looking for is the ability to search and
replace through files in a directory, or open files. Oxygen is another text
editor that can do this.
But that doesn't address the problem of how to expeditiously save whole directories (or drives) of binary FM files as MIF. Or how, after running them through the edit process, to save all the modified MIF files back to binary FM. A FrameScript script would let you automate all three stages of the process (including invoking the editor of your choice to do the global replace).
Richard G. Combs
Senior Technical Writer
Polycom, Inc.
richardDOTcombs AT polycomDOTcom
303-223-5111
------
rgcombs AT gmailDOTcom
303-903-6372
------
_______________________________________________
You are currently subscribed to framers as [email protected].
Send list messages to [email protected].
To unsubscribe send a blank email to
[email protected]
or visit
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com
Send administrative questions to [email protected]. Visit
http://www.frameusers.com/ for more resources and info.