Skip to main content
oneoff_swe
Participant
September 17, 2014
Question

Looking for Scripts that Replaces Text and Master Pages

  • September 17, 2014
  • 2 replies
  • 415 views

I have just found the Script Library panel in FM 10. (Always used InDesign before.)

I'm up to replace a text string and two master pages in 100+ documents. Tried to google for some nice solutions to make this automatically but cannot find any scripts/macros to FM at all.

Do you have som tip where to find such script/macro?

    This topic has been closed for replies.

    2 replies

    Bob_Niland
    Community Expert
    Community Expert
    September 17, 2014

    100 is a small enough number that no time may be saved writing a script (assuming none exist for the purpose).

    I'd be tempted to ...

    1. Create a sourcing file that has the new MPs needed (and safe versions of MPs "Left" and "Right")
    2. Create a new Book file.
    3. Add to it all 100 of the files needing update (this is the only tedious part).
    4. Use Find/Replace from the Book menu to fix the text string.
    5. Select all book component files:
      File > Import > Formats
      Import from Document [MPsourcefilename.fm]
      [Deselect All]
    6. Page Layouts
      [Import]
    oneoff_swe
    Participant
    September 17, 2014

    Well found out that I miss other batches in the FrameMaker world.

    Relink images in multiple files to a new folder. (These are missing due to a name change of the folder.)

    Converts all framemaker files in a specific folder to PDFs, with the same name of its origin FM file.

    Legend
    September 17, 2014

    You are not likely to find exactly the script you need, as most scripts are customized for a specific purpose. If you would like some general samples to help you learn scripting, you can visit:

    FrameMaker ExtendScript Samples - West Street Consulting

    Russ