Article View: adobe.scripting.indesign
Article #975[JS] how to package an InDesign document
From: peterhedrington
Date: Tue, 24 Feb 2009 23:04
Date: Tue, 24 Feb 2009 23:04
15 lines
1263 bytes
1263 bytes
I am trying to script the packaging of InDesign files.
function packageForPrint (to, copyingFonts, copyingLinkedGraphics, copyingProfiles, updatingGraphics, ignorePreflightErrors, creatingReport, versionComments, forceSave){
app.activeDocument.packageForPrint (Folder.desktop, true, true, true, true, true, true, true, true);
}
I thought the packageForPrint was the way to go. But I can't get the correct structure.
Can someone give me a clue as the direction I need to go with this.
I am using InDesign CS2 on a Mac. But want the script to work cross platform.
Any help would be appreciated.
Peter Hedrington
Technical Details
Message-ID:
<59b80ab3.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,5a211208a2935918,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: peterhedrington@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: [JS] how to package an InDesign document Message-ID: <59b80ab3.-1@webcrossing.la2eafNXanI> Date: Tue, 24 Feb 2009 15:04:26 -0800 Lines: 20 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit