I have created simple Applescript that creates a PDF from InDesign using certain parameters.
I'm trying to set up a similar script for our editors, who use InCopy.
I can't figure out how to specify the PDF export options in InCopy the way you can in InDesign.
I need to specify that the view should be layout (not galley or story) and the page range.
I've learned Applescript mostly through looking at the sample scripts provided with InDesign and reading the scripting guide but I can't find examples of what I need in the InCopy documentation or library.
Have you looked at the "PDF layout export preference" class? You access it via the application's "layout PDF export preferences".
after struggling for a while and then posting my message I looked up "Layout" in the dictionary and found the setttings you mention. Don't know why I hadn't found that before.
But my script works so I'm thrilled!