Article View: adobe.scripting.indesign
Article #277Re: [AS] Script runs slower and slower
From: Thomas_Silkjaer
Date: Thu, 19 Mar 2009 19:21
Date: Thu, 19 Mar 2009 19:21
5 lines
953 bytes
953 bytes
I do the selections, to search using "find grep" within the selections. I suppose i could pass a text style range instead? My script depends a lot wether things are located in a text style range on the current page or not. But the time the script takes now is OK for this purpose. Turning redraw off almost cut the time in two.
Technical Details
Message-ID:
<59b839fa.20@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b839fa.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,964f40adb0036d50 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Thomas_Silkjaer@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [AS] Script runs slower and slower Message-ID: <59b839fa.20@webcrossing.la2eafNXanI> Date: Thu, 19 Mar 2009 12:21:59 -0700 References: <59b839fa.-1@webcrossing.la2eafNXanI> Lines: 8 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit