🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20294

Re: VB Runtime Error placing file

#20294
From: Alan Stearns
Date: Tue, 16 Jul 2002 22:15
13 lines
1561 bytes
Ole, 

Changing the number of undos would not affect document recovery in any way.  They're completely separate beasts. 

And save/close/re-open isn't necessary to clear the undo stack.  The SaveAs command will clear the undo stack much more quickly.   

So it would be interesting to find out whether Mike's script would be faster on a page-by-page basis if he inserted some lines that did a "Save As" every 20 pages or so: 

theDoc.SaveAs theDoc.FullName 

If this does speed things up, then we can be fairly sure the performance slowdown is related to the undo stack, and we can look at making the level of undos customizable in future versions.  If this doesn't make a difference, then the undo stack isn't the culprit (I actually suspect it may be text composition). 

Alan
Technical Details
Message-ID: <ef9a5d4.6@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef9a5d4.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,8eb57ac892c42c49
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-07-16 15:42:18 PST
From: "Alan Stearns" <astearns@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: VB Runtime Error placing file
Message-ID: <ef9a5d4.6@WebX.aaQKaf7vad4>
Date: Tue, 16 Jul 2002 15:15:47 -0700
References: <ef9a5d4.-1@WebX.aaQKaf7vad4>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit