ExtendScript of the Week: Book Report

ExtendScriptFrameMakerProductsTechnical Communication Suite

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)


ExtendScript, FrameMaker, Products, Technical Communication Suite

Posted on 09-21-2011


Comments

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

    I also do not know where the file is.

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

    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   Reply

      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   Reply

    A pice of cake

  • […] [Dies ist eine Übertragung des Original-Artikels auf http://blogs.adobe.com/%5D […]

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

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

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

    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   Reply

    Thank you for the installation steps, to I so useful

Reply to Alex