Thread View: adobe.scripting.indesign
3 messages
3 total messages
Started by Eliot Harper
Sun, 08 Feb 2009 10:34
Migrating scripts to InDesign Server
Author: Eliot Harper
Date: Sun, 08 Feb 2009 10:34
Date: Sun, 08 Feb 2009 10:34
5 lines
976 bytes
976 bytes
Hello, Could someone explain what the process is to migrate a JavaScript InDesign script so that it can be used by InDesign Server? From reading the server documentation, I understand that I can run scripts from the TestClient command-line tool, but what changes do I need to make the the script? Do I simply need to change the #target name (if so, to what?) and are there other differences that I need to be aware of? Eliot
Re: Migrating scripts to InDesign Server
Author: Dave_Saunders
Date: Sun, 08 Feb 2009 14:33
Date: Sun, 08 Feb 2009 14:33
13 lines
1394 bytes
1394 bytes
Hi Eliot, In all the work I've done with InDesign Server, I've never given a moments thought to the #target command. I think that's largely because in my case, I've been working with Typefi Publish and it launches my scripts and they are by definition targeted to ID Server. Within the scripts, there's quite a lot to look out for. Nearly all UI-related stuff is unavailable. So, for example, there is no such thing as app.activeDocument in ID server. That's one of the reasons I use app.documents[0] in all my scripts, whether for server or desktop. Similarly, anything related to windows is unavailable and will cause errors. If you have ESTK installed on a machine with InDesign Server, you should be able to see its object model in the Object Model Viewer under ESTK's Help menu. Dave
Re: Migrating scripts to InDesign Server
Author: Eliot Harper
Date: Sun, 08 Feb 2009 18:22
Date: Sun, 08 Feb 2009 18:22
1 lines
629 bytes
629 bytes
Thanks Dave, I'll give it a whirl...
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