Article View: adobe.scripting.indesign
Article #731Re: [AS] Script runs slower and slower
From: Shane_Stanley
Date: Tue, 17 Mar 2009 22:23
Date: Tue, 17 Mar 2009 22:23
11 lines
1573 bytes
1573 bytes
I'm not sure that turning redraw off did anything in CS3; I haven't checked in CS4. I did a rough test with a script that had to draw several hundred transparent ovals. To make it go faster, the script made the layer they were on invisible, so no redraw was needed. Even so, it took maybe 3-4 minutes; doing it without a window took closer to half-a-minute. -- Shane Stanley <sstanley@myriad-com.com.au> AppleScript Pro Sessions <http://scriptingmatters.com/aspro>
Technical Details
Message-ID:
<C5E66DFE.4F738%sstanley@myriad-com.com.au>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.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: Shane_Stanley@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [AS] Script runs slower and slower Message-ID: <C5E66DFE.4F738%sstanley@myriad-com.com.au> Date: Tue, 17 Mar 2009 15:23:10 -0700 References: <59b839fa.-1@webcrossing.la2eafNXanI> Lines: 16 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApcBABvAv0l8qDsk/2dsb2JhbAAI03mDfAY X-IronPort-AV: E=Sophos;i="4.38,381,1233500400"; d="scan'208";a="467199141" by outbound.icp-qv1-irony-out1.iinet.net.au with ESMTP; 18 Mar 2009 07:23:13 +0900 User-Agent: Microsoft-Entourage/12.15.0.081119 Thread-Topic: [AS] Script runs slower and slower Thread-Index: AcmnTvQEdKErC2YfjEuD7t+ioIqvlQ== MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit