🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8555

Re: Accessing arguments passed to a JavaScript script in ID Server

#8555
From: Kimmo_Makinen
Date: Wed, 11 Oct 2006 06:39
5 lines
1182 bytes
With InDesign Server, the values are set prior to remotely calling the server which in turn runs the script. The SOAP Envelope contains a scriptArgs-tag which is supposed to relay the arguments from the client to the script. Both are defined in the remote call.

However, in JavaScript the scriptArgs-vector is empty. Asking: var a1 = app.scriptArgs.get("name1"); is supposed to give the value for an argument named "name1". Both are set up and relayed to the server remotely.

I honestly don't know if this is a scripting issue or a server issue.
Technical Details
Message-ID: <3bc1ea40.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.ecp.fr!news.stben.net!webcrossing
References: <3bc1ea40.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,ff2d3b94f191549d,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Kimmo_Makinen@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: Accessing arguments passed to a JavaScript script in ID Server
Message-ID: <3bc1ea40.1@webcrossing.la2eafNXanI>
Date: Tue, 10 Oct 2006 23:39:41 -0700
References: <3bc1ea40.-1@webcrossing.la2eafNXanI>
Lines: 10
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.ecp.fr!news.stben.net!webcrossing