Article View: adobe.scripting.indesign
Article #2182Re: [JS CS3] Merging table columns
From: Dave_Saunders
Date: Sat, 10 Jan 2009 22:33
Date: Sat, 10 Jan 2009 22:33
11 lines
897 bytes
897 bytes
Are you doing anything about the undo queue in your script? As that gets longer and longer it can really bog down a script.
I usually have something like this in my main loop:
if (j % 100 == 0) {
myDoc.save(File(myFullName));
}
where j is the main loop counter.
Dave
Technical Details
Message-ID:
<59b779d3.5@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b779d3.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,fcf8b6c8e9285d5b X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Dave_Saunders@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [JS CS3] Merging table columns Message-ID: <59b779d3.5@webcrossing.la2eafNXanI> Date: Sat, 10 Jan 2009 14:33:30 -0800 References: <59b779d3.-1@webcrossing.la2eafNXanI> Lines: 9 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit