Skip to main content
Participant
December 4, 2013
Question

Is there support for the GraphicsFmt object in FrameMaker 11 ExtendScript?

  • December 4, 2013
  • 3 replies
  • 702 views

I was reading the FDK documentation for FrameMaker 11 and I see that support has been added for Object formats using FO_GraphicsFmt.

Is there support for the GraphicsFmt object in FrameMaker 11 ExtendScript?

If not, when will it be added?

Another question: Will the ExtendScript documentation ever be improved?

This topic has been closed for replies.

3 replies

Inspiring
May 13, 2014

Hi,

We have fixed this issue in the latest Framemaker 12 update 12.0.2. You can find more details here:

Important FrameMaker update released « TechComm Central by Adobe

For a complete list of fixes done, pls refer to

FrameMaker Help | Adobe FrameMaker 12.0.2 ReadMe

Regards,

Anchal Arora,

Framemaker Engineering

frameexpert
Community Expert
Community Expert
December 4, 2013

I tried this:

#target framemaker

var doc = app.ActiveDoc;

var fmt = doc.GetNamedGraphicFmt("Test");

alert (fmt);

but it doesn't work. The omv.xml file for the Object Model Viewer is for FrameMaker 10. FrameScript supports the GraphicFmt object, but I don't think ExtendScript does.

Rick

www.frameexpert.com
4everJang
Legend
December 4, 2013

Stuart,

I am pretty sure you can use the object from ExtendScript. With the FDK documentation you should be able to guess the property names in ExtendScript, but the easiest way is to use a small test document and write a small script to get at the GraphicsFmt object. Set a breakpoint and use the Data Browser and/or JavaScript Console to see how FM uses the object.

As for better ExtendScript documentation: I am working on a website (www.progframe.com) that will feature better documentation, combining the current docs with stuff picked up from the FDK reference and test scripts. It will also have tutorials for newbie scripters. If Adobe does not put an effort into the docs, I might as well do it and possibly pick up some scripting jobs that way. I am planning to launch the website early next year and keeping it up to date so that ExtendScript info is immediately available when a new FM version hits the market.

Kind regards

Jang