Article View: adobe.scripting.indesign
Article #16253Re: [A Studio, OS X 10.2.6 ] maximum number of lines in a script?
From: Shane Stanley
Date: Fri, 26 Sep 2003 10:25
Date: Fri, 26 Sep 2003 10:25
16 lines
1632 bytes
1632 bytes
Script Editor 1.9 and earlier have a limit of approximately 32,000 characters -- the exact number varies depending on styling. Script Editor 2.0 has no such limit, in theory, but it's also still very much beta. In practice, people often run into problems when scripts get too big. What's too big? Well, debugging can get problematic when you get above about 64,000 characters. So 1300 lines might be near that, depending very much on the script and your coding style. My advice would be to try Script Debugger. It will improve your scripting life anyway; no serious scripter should be without it anyway. -- Shane Stanley, sstanley@myriad-com.com.au
Technical Details
Message-ID:
<BB9A5138.6761E%sstanley@myriad-com.com.au>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccd8b2c.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,2315b4726a57fbb6 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-09-26 06:38:23 PST From: Shane Stanley <sstanley@myriad-com.com.au> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: [A Studio, OS X 10.2.6 ] maximum number of lines in a script? Message-ID: <BB9A5138.6761E%sstanley@myriad-com.com.au> Date: Fri, 26 Sep 2003 03:25:29 -0700 References: <2ccd8b2c.-1@webx.la2eafNXanI> Lines: 22 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit