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.

Rajat Bansal

(Resources: BookReportBookReportSampleFiles)


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

    I also do not know where the file is.

  • 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 razvan - 1:03 AM on November 4, 2011  

    A pice of cake

  • 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 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 interior wood doors - 8:44 AM on September 21, 2011  

    Thank you for the installation steps, to I so useful

  • Adobe TechComm on Social Media

  • Categories

  • Archives

  • Authors

  • Useful Links

  • Recent Comments

    • Stefan Gentz: Meanwhile RoboHelp (2015 Release) – Update 2 has been released: http://blogs.adobe.com/tech...
    • Stefan Gentz: Meanwhile FrameMaker (2015 Release) – Update 2 has been released: http://blogs.adobe.com/tech...
    • Dieter Gust: So I found it out myself: C:\Program Files (x86)\Adobe\AdobeFrameMaker201 5\fminit\ditafm\DITA-OT\doc...
    • Dieter Gust: In the DITA-OT 2.1 version a rudimentary HTML5 output is included. Add the following entries in...
    • Dieter Gust: Which fonts do you recommend for Thai and Farsi? As far as I can see special Adobe fonts for these...