Article View: adobe.scripting.indesign
Article #18035Re: Problem with compiled script
From: Jay Fraser
Date: Tue, 06 May 2003 17:20
Date: Tue, 06 May 2003 17:20
9 lines
1314 bytes
1314 bytes
Odd, though, that it works in ScriptEditor, but not when compiled. One big difference between the two is speed. I have no data to support this, but sometimes I feel like the script can get ahead of the application, and then gags; i.e. InDy is still trying to apply the character style (which changes the length of the text), when you tell it to "fit frame to contents". Maybe before you "fit frame," you could "end tell" out to the application, then "tell application", "tell active spread", etc. until you get back to where you were? This is just a totally uneducated guess... Good luck! Jay
Technical Details
Message-ID:
<1de8f1c5.5@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de8f1c5.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,7f68682032039179 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-05-06 10:38:10 PST From: "Jay Fraser" <jayfraser@yahoo.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: Problem with compiled script Message-ID: <1de8f1c5.5@WebX.la2eafNXanI> Date: Tue, 6 May 2003 10:20:18 -0700 References: <1de8f1c5.-1@WebX.la2eafNXanI> Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit