Skip to main content
Participant
July 16, 2010
Question

Scripting the import of style sheets

  • July 16, 2010
  • 1 reply
  • 1227 views

Hi Community,

first of all I'm not an InDesign operator but I try to help a colleague. My question is, if it is possible to import one or more style sheets in InDesign documents without the need to open these documents and without the need of an installed InDesign application on the target server? We are programming a template for using with an InDesign server based application and need the information if it is possible to import new or missing style sheets without downloading each finished document, import the new style sheet and upload it back to server. A workaround with a shell script or something like that, would be very helpful.

If there are one or more possibiliies it would be great if somebody could point me in the right direction with a link to one or more tutorials.

Thanks in advance & Bye Tom

This topic has been closed for replies.

1 reply

tomaxxi
Inspiring
July 16, 2010

Hey!

Meybe try this:

http://forums.adobe.com/message/2828680#2828680

tomaxxi

Participant
July 16, 2010

Hi,

thanks but I think that the requirement, that I have to bring the new style sheets in closed documents, hosted on a remote server, is not covered with this kind of script. I'm not familiar with InDesign scripting but the expression app.activeDocument sounds like that the target document have to be at least accessible by the local InDesign client. But in our case this isn't possible. We only can execute a script on the target server and have to access hundreds of indd documents, stored in the file system of the server. Please let me know if I lose sight of something.

Thanks for your attention & Bye Tom

Peter Kahrel
Community Expert
Community Expert
July 16, 2010

You have to open a document in order to import styles into it. There may be a convoluted method via IDML, but that's going to be very complicated.

Peter