🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #257

Re: [AS] Script runs slower and slower

#257
From: Thomas_Silkjaer
Date: Thu, 19 Mar 2009 08:40
12 lines
1200 bytes
I did some tests. Running the script with:

1. Using "save as" to flush undo's, with redraw on: 3:28min
2. Using "save as" to flush undo's, with redraw off: 1:55min
3. Using "do script" and don't do "save as", with redraw on: 3:02min
4. Using "do script" and don't do "save as", with redraw off: 1:37min

I tried opening the document without a window, but since my script is doing a lot of selections etc., the script as it is now, wouldn't work without a window.

But clearly from these timings I will assume, turning off redraw and using do script to not save undo's is the fasted method!

Thanks!
Technical Details
Message-ID: <59b839fa.16@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
References: <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!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [AS] Script runs slower and slower
Message-ID: <59b839fa.16@webcrossing.la2eafNXanI>
Date: Thu, 19 Mar 2009 01:40:19 -0700
References: <59b839fa.-1@webcrossing.la2eafNXanI>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit