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

Re: Create an ExtendScript to create PDFs...object help

$
0
0

Hi Rick,

 

Thanks very much! It sounds like I should try adding the Constants.FA_Note_PreFileType to the switch in my setupNotifications function. I'll try playing around with that first and see if I can make some headway before calling.

 

When the notification is received, I want my script to copy template files that are either landscape or portrait in orientation into the default directory my ditafm-output.ini file is pointing to for my output files (based on the actual file name of the ditamap being saved as book 11 w/fm components).

 

Basically, I want to remove user error and have FrameMaker automatically copy the correctly-oriented template files into the default output directory so, for example, when I save my user guide (landscape) I don't let it churn for 40 minutes only to discover I forgot to change the output templates to landscape, and the entire guide (incorrectly) appears in portrait.

 

I'll see what I can try today/tonight and then will most likely call you tomorrow!

 

Thanks,

 

Diana


Viewing all articles
Browse latest Browse all 3715

Trending Articles