Hi I need to save every page of a Indesign CS3 and Quark file as JPEG , in my cocoa application using Objective C...
can anyone suggest me on this?
thank you
Hi I need to save every page of a Indesign CS3 and Quark file as JPEG , in my cocoa application using Objective C...
can anyone suggest me on this?
thank you
This sounds like a task for Applescript. You could write an applescript that uses the Indesign Applescript Dictionary and then wrap your applescript with Cocoa and Objective C.
Not sure how to do Cocoa wrapper around applescript? There are some code examples in the developer tools code samples that come with Xcode.
This might be useful AppleScript and Cocoa: from Top to Bottom.
Here is the Indesign (CS3) Applescript Guide (pdf). It would have the details of what actions can be scripted.
Also, you might consider Automator which is essentially a GUI frontend to Applescript. Here some Automator actions specifically for Indesign.
And a workflow guide from Adobe using Automator and Indesign. It has some information on what to do in Xcode.