ExtendScript of the Week: “Book Report”

Wednesday, September 21 2011 @ 6:29 AM, By Rajat Bansal

Last week we provided an overview of ExtendScript Support in Adobe FrameMaker 10 (FrameMaker ExtendScript: Getting Started) and announced the “ExtendScript of the Week” initiative. As part of that series, we are providing a script which shows how to use FrameMaker ExtendScript capabilities to generate Book Report.

This scripts when run on a Book generates a Book Report which contains the following information about the Book:

  • General Information like page count, number of markers, x-refs etc
  • Detailed Information on X-Refs / Referenced Graphics with their status (resolved / unresolved). From the report, you can click on the record to jump to location of x-ref / Referenced Graphic.
  • List of Tables and Markers with links to jump to their location.

Steps to Install

  • Download the zip file from BookReport
  • Unzip the files and copy “BookReportMenu.jsx” and “BookReport” folder in startup folder located at “C:\Program Files\Adobe\AdobeFrameMaker10\startup”

How to use the Script?

  • Launch FrameMaker
  • Open a Book File (or use Sample Book: BookReportSampleFiles)
  • Run Book Report from “File -> Utilities -> Generate Book Report“.
  • This will run the script and generate a report which contains the information listed above.

I hope this will help you getting started with writing scripts to automate tasks and add functionality as per your requirements.

Regards,
Rajat Bansal

(Resources: BookReportBookReportSampleFiles)

COMMENTS

  • By interior wood doors - 8:44 AM on September 21, 2011  

    Thank you for the installation steps, to I so useful

  • By Don - 9:35 AM on September 21, 2011  

    It is better to open the script in ExtendScript toolkit (by default this is done by just double-clicking the downloaded script file) and click Run from there (after …

  • By Mark Southee - 11:01 AM on September 21, 2011  

    Could ExtendScript be used to find text in a document/book, and replace with a user defined variable?

    • By Rick Quatro - 11:33 AM on September 21, 2011  

      Yes, absolutely.

  • By razvan - 1:03 AM on November 4, 2011  

    A pice of cake

  • By JJBragg - 3:06 PM on April 29, 2013  

    This script appears to run, but I haven’t yet found the report. Where is it?

    • By Thomo - 8:38 AM on July 24, 2013  

      Yeah – I’m currently having the exact issue, script runs (i think) but does not finalise/produce a report?
      And I have no idea what location it should be at?
      Well tested :/

  • By Alex - 1:39 AM on November 8, 2013  

    I also do not know where the file is.

  • Categories

  • Archives

  • Authors

  • Useful Links

  • Recent Comments

    • Joel: Thanks for fixing the links guys!
    • Maxwell Hoffmann: Ted, one aspect of the blog that may have escaped your notice; you can launch the HTML5 version in...
    • Maxwell Hoffmann: Joel, per comments made above, I discovered that the original URLs were incorrect with pointers to...
    • Maxwell Hoffmann: Paul, as I indicated in the comments below, the original blog had links that pointed to a...
    • Maxwell Hoffmann: I apologize to all concerned regarding my suggestion to “clear the cache” … it...