Highlighted

What is an FMObject

New Here ,
Jul 01, 2015

Copy link to clipboard

Copied

I am new to the API and ExtendScript, and I am having alot of difficulty navigating the object model

I am trying to extract the referenced file names of graphic objects.  I can get all the graphics in my docs by doing:

var graphic = doc.FirstGraphicInDoc;      

     while (graphic) {

            [ ... Process graphic here ... ]

            graphic = graphic.NextGraphicInDoc;

     }

Per the object model browser, the FirstGraphicInDoc says it returns an FMObject.  Problem is that there does not appear to be anything shown as an FMObject in the object browser.  There is also no graphic object.  How is somebody supposed to find out what can be extracted from a graphic?   I have found some properties such as Unique and type by Googling for examples, but its very hit and miss.

Does anyone know how I find out all of the properties and methods that can be run on an FMObject (or graphic, or whatever it is).

TOPICS
Scripting

Views

171

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

What is an FMObject

New Here ,
Jul 01, 2015

Copy link to clipboard

Copied

I am new to the API and ExtendScript, and I am having alot of difficulty navigating the object model

I am trying to extract the referenced file names of graphic objects.  I can get all the graphics in my docs by doing:

var graphic = doc.FirstGraphicInDoc;      

     while (graphic) {

            [ ... Process graphic here ... ]

            graphic = graphic.NextGraphicInDoc;

     }

Per the object model browser, the FirstGraphicInDoc says it returns an FMObject.  Problem is that there does not appear to be anything shown as an FMObject in the object browser.  There is also no graphic object.  How is somebody supposed to find out what can be extracted from a graphic?   I have found some properties such as Unique and type by Googling for examples, but its very hit and miss.

Does anyone know how I find out all of the properties and methods that can be run on an FMObject (or graphic, or whatever it is).

TOPICS
Scripting

Views

172

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 01, 2015 0

Have something to add?

Join the conversation