🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.indesign.sdk
Article #163

Re: Passing values to Javascripts/ write to text file

#163
From: Kamrun
Date: Tue, 24 Mar 2009 14:35
12 lines
833 bytes
Are you looking for this:

in C++ :
Utils<IScriptArgs>()->Set(yourkeyStr ,yourvalueStr );

in JavaScript:
if(app.scriptArgs.isDefined(yourkeyStr)) {
     var yourvalueStr = app.scriptArgs.get(yourkeyStr)
}

HTH,
Kamran
Technical Details
Message-ID: <59b86438.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
References: <59b86438.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f63e9,a5b1779b3707cbf9
X-Google-Attributes: gidf63e9,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Kamrun@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.indesign.sdk
Subject: Re: Passing values to Javascripts/ write to text file
Message-ID: <59b86438.0@webcrossing.la2eafNXanI>
Date: Tue, 24 Mar 2009 07:35:54 -0700
References: <59b86438.-1@webcrossing.la2eafNXanI>
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit