🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1434

Re: Migrating scripts to InDesign Server

#1434
From: Dave_Saunders
Date: Sun, 08 Feb 2009 14:33
13 lines
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
Technical Details
Message-ID: <59b7d16d.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b7d16d.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,b06990317cba679b
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Migrating scripts to InDesign Server
Message-ID: <59b7d16d.0@webcrossing.la2eafNXanI>
Date: Sun, 8 Feb 2009 06:33:11 -0800
References: <59b7d16d.-1@webcrossing.la2eafNXanI>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit