Article View: adobe.scripting.indesign
Article #18818Re: Tables again
From: Ben Dupre
Date: Wed, 19 Feb 2003 20:13
Date: Wed, 19 Feb 2003 20:13
17 lines
1215 bytes
1215 bytes
Have you tried making copies of any collections you're working on and using them instead of quizzing properties of or iterating through objects in your document?
For example:
Dim copyOfSpreads as object
set copyofspreads=id.document.spreads
for i = 1 to copyofspreads.count
if copyofspreads.item(i).property=value then
do something
endif
next
Seems you've noticed that any interactions between your script and ID happen slowly: You're on the right track.
Ben
Technical Details
Message-ID:
<1de7ed85.0@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-08!supernews.com!newsfeeds.sol.net!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de7ed85.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,97cdbcf0601a13ef X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-02-19 12:38:07 PST From: "Ben Dupre" <bdupre@sauer-danfoss.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-08!supernews.com!newsfeeds.sol.net!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Tables again Message-ID: <1de7ed85.0@WebX.la2eafNXanI> Date: Wed, 19 Feb 2003 12:13:09 -0800 References: <1de7ed85.-1@WebX.la2eafNXanI> Lines: 20 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit