Copy link to clipboard
Copied
I am looking for a way to package files using InDesign Server (CC2014, running on a Windows 2012 server). I guess that it should be possible by scripting but I it is far away from my skills.
Thanks!
Copy link to clipboard
Copied
Use Document.packageForPrint().
Here's the signature:
bool packageForPrint (to: File, copyingFonts: bool, copyingLinkedGraphics: bool, copyingProfiles: bool, updatingGraphics: bool, includingHiddenLayers: bool, ignorePreflightErrors: bool, creatingReport: bool[, versionComments: string][, forceSave: bool=false])
Copy link to clipboard
Copied
Thanks Harb, I will test. Pardon me if this question seems stupid: all I need to do is to copy, paste in Extend Script Tool Kit and save it as .jsx?
Copy link to clipboard
Copied
Well, you need to specify where you're exporting to and get a reference to the source document. You also need a way to actually run the script in InDesign Server (since there's no UI).
What's your context here?
Copy link to clipboard
Copied
I'll try to explain more precisely: we use InDesign (client version) and all our pictures are stored on a DAM. So, all the links look like : http://[name_of_the_DAM]. Our prepress department would like to get a copy of all the linked files. Instead of manually packaging to get a copy of the linked files, we are looking to automatize this process, and as we use InDesign Server to generate our PDF, I wanted to use it to do this.
Is it clearer?
Copy link to clipboard
Copied
Much clearer.
So, you basically have an InDesign Server script which has a reference to an InDesign file and is exporting it to a folder reference. Right?
If so, it should just be a matter of adding a line to the script like so:
myDoc.packageForPrint(myFolder,true,true,false,true,false,true,true);
Copy link to clipboard
Copied
No, that's the point. At this time, we use InDesign Server in relationship with MadeToPrint Server to produce our PDFs. The prepress department drops the native InDesign files in a hotfolder, and these files are processed by InDesign/MtP Server.
Copy link to clipboard
Copied
Not knowing how MadeToPrint Server runs scripts, I'm not sure what to say. I guess you can ask the folks at Axaio? if their scripts can be extended.
The other option is that your prepress department can use InDesign Desktop to run scripts to package the files.
Copy link to clipboard
Copied
Hi,
Sorry if I come late here but I thought I could bring some valuable infos. From what I know, the InDesign Server included in the MadeToPrint Server distribution is not usable outside of M2PS. You can't think of running external scripts on that specific instance of InDesign Server as it's closed to external access. It's a specific bundle.
HTH
Loic
Copy link to clipboard
Copied
Thanks Loic,
We do not use the InDesign Server version distributed by Axaio. Our version has ben provided by our parent company. Anyway, our third party plugin provider wrote a script to package the files.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now