🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.indesign.sdk
Article #580

Execute a script?

#580
From: Kamrun
Date: Wed, 07 Jan 2009 15:09
8 lines
942 bytes
Hello everyone,

I use RunScriptInEngine() to execute a script located in a file,for this reason I pass the script file path to this API, now I want to execute the same script again and again for processing each record in my plugin, what would be the best approach to do that? I mean is there any option to read the file once and cache it for using it for the next times.

P.S I use CS4, Mac/Win.

Thanks,
Kamran
Technical Details
Message-ID: <59b77280.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f63e9,62db2906a7513c13,start
X-Google-Attributes: gidf63e9,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Kamrun@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.indesign.sdk
Subject: Execute a script?
Message-ID: <59b77280.-1@webcrossing.la2eafNXanI>
Date: Wed, 7 Jan 2009 07:09:54 -0800
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit