Quantcast
Channel: Adobe Community: Message List - FrameMaker Scripting
Viewing all articles
Browse latest Browse all 3715

Create an ExtendScript to create PDFs...object help

$
0
0

Hi Adobe Framer Community-

 

Does anyone know which FM Object the Constants.FV_SaveFmtBookWithFm property value constant is a property of? I think it's a property of the Doc object, but I'm having trouble finding documentation on how to work with this and/or to confirm this.

 

I am working on an ExtendScript script to automate the PDF process from DITA/XML files in FrameMaker 11 and following the directions on pg. 11 of the Adobe FrameMaker 10 Scripting Guide (also outlined very nicely on FrameAutomation.com) to get the notification set up. I'm using Constants.FA_Note_PreSaveDoc here, and I can get an alert to display the iparam (=0), the sparam (=..\GettingStarted.fm), and the object type (=object Doc).

 

So if the notification tells me the object type is Doc when I perform a Save Ditamap As -> Book 11 with fm components (*.book), how do I determine what (in the Doc object) the Constants.FV_SaveFmtBookWithFm property goes to? As far as I can tell, the Doc object contains the first page, followed by the paragraphs, etc. Does the Constants.FV_SaveFmtBookWithFm property value belong to some other object perhaps?

 

Thanks for any and all suggestions!

 

Diana


Viewing all articles
Browse latest Browse all 3715

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>