Article View: adobe.scripting.indesign
Article #15452Speed issue (JS)
From: Peter_Kahrel
Date: Sat, 29 Nov 2003 13:31
Date: Sat, 29 Nov 2003 13:31
8 lines
1137 bytes
1137 bytes
I use this very simple script to increase the paragraph spacing of the current paragraph by 1 point (linked to a function key in the keyboard shortcuts this is quicker than getting into the paragraph dialogue): var Par=app.selection[0].paragraphs.item(0); Par.spaceBefore=Par.spaceBefore+1 This script slows down to snail's pace as you get further down a document. Is there any way to soup up this script using a different notation? It was mentioned earlier in this forum that JS scripts slow down in large documents, so maybe it's a general issue. Peter
Technical Details
Message-ID:
<2ccea623.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,5160ccea7493a62f,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-11-29 05:37:33 PST From: Peter_Kahrel@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Speed issue (JS) Message-ID: <2ccea623.-1@webx.la2eafNXanI> Date: Sat, 29 Nov 2003 05:31:28 -0800 Lines: 13 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit