This content has been marked as final. Show 4 replies
The command is called "packageForPrint"
>packageForPrint (to: File, copyingFonts: bool, copyingLinkedGraphics: bool, copyingProfiles: bool, updatingGraphics: bool, ignorePreflightErrors: bool, creatingReport: bool[, versionComments: string][, forceSave: bool=false])
and can be used on either a Book or a Document. Copied from the Help file, never tried it before ...
>app.activeDocument.packageForPrint ("a_file", true, true, true, true, true, true);
for starters? A single line, experiment where necessary.
tell application "Adobe InDesign CS3"
set myPackage to package document 1 to myCollectFolder with copying fonts, updating graphics and ignore preflight errors without copying profiles, creating report and copying linked graphics
----->returns boolean from Package command
You can use "with updating graphics with ignore preflight" and when you compile it sort of groups them together in an unusual way.
Thanks guys, I'll check these two solutions out in the morning.
Thanks SuperMacGuy your solution works perfect.