Article View: adobe.scripting.indesign
Article #8567Re: Accessing arguments passed to a JavaScript script in ID Server
From: Kimmo_Makinen
Date: Wed, 11 Oct 2006 13:18
Date: Wed, 11 Oct 2006 13:18
11 lines
1124 bytes
1124 bytes
Problem is that I get the "no show" from using the Adobe IDS provided testclient as well.
In a command prompt:
d:\testclient -host xx.xxx.x.xx:port -server "d:\script.jsx" "name"="value"
In the script.jsx I then try:
var a2 = app.scriptArgs.get("name");
a2 turns out as an empty string. No errors are sent back to the testclient. Script is resolved just ok too. Same thing with the java client.
But thank you for confirming that I'm atleast trying to get the arguments the correct way!
Technical Details
Message-ID:
<3bc1ea40.3@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc1ea40.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,ff2d3b94f191549d 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.3@webcrossing.la2eafNXanI> Date: Wed, 11 Oct 2006 06:18:39 -0700 References: <3bc1ea40.-1@webcrossing.la2eafNXanI> Lines: 15 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