Thread View: adobe.scripting.indesign
3 messages
3 total messages
Started by lpastor74
Fri, 27 Mar 2009 12:49
Export PDF with joboptions file , how?
Author: lpastor74
Date: Fri, 27 Mar 2009 12:49
Date: Fri, 27 Mar 2009 12:49
13 lines
970 bytes
970 bytes
hi
I create indesign script that export InDesgn document to pdf using
//open doc
var myDocument = app.open(File(sourceFileName));
myDocument.exportFile(ExportFormat.pdfType, File(destinationFilePath+".pdf"), app.pdfExportPresets.item("[High Quality Print]"));
but my client what me to update the scripts to pick up(use) the joboptions files!?!
Can anybody help me with this ..
Thnkas
Re: Export PDF with joboptions file , how?
Author: Tony_Tuneson
Date: Thu, 02 Apr 2009 12:04
Date: Thu, 02 Apr 2009 12:04
3 lines
1096 bytes
1096 bytes
have you tried to manually create an PDFExportpresets conforming the joboptions-info, and refer to these presets based on the joboptions name? If you really want to use the joboptions files (maybe they differ all the time?), maybe it's easier to load them in Distiller and print to Distiller instead of using PDF export? If you do not want to do it manually, you probably need to parse through the joboptions-file and 'convert' it to PDFExportPreference settings. (That could be a useful standard plug-in).
Re: Export PDF with joboptions file , how?
Author: Peter Kahrel
Date: Thu, 02 Apr 2009 13:51
Date: Thu, 02 Apr 2009 13:51
11 lines
1066 bytes
1066 bytes
but my client what me to update the scripts to pick up(use) the joboptions
files!?!
Either ask your client to name the job options file (or PDF preset) they want to use, or let them pick a preset when they run the script. You can show the presets in a dropdown list from which they can pick a preset.
Peter
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads