Article View: adobe.scripting.indesign
Article #16252[A Studio, OS X 10.2.6 ] maximum number of lines in a script?
From: Thomas Lundin
Date: Fri, 26 Sep 2003 08:01
Date: Fri, 26 Sep 2003 08:01
12 lines
1873 bytes
1873 bytes
One of my Indesign scripts seems to have more lines than both Script Editor 1.9 and Script Editor Beta 2.0 can handle. (Currently about 1300 lines in one Applescript file.)
Have switched to Project Builder (Applescript Studio), and everything seems to work OK this far. Exceptions: 1) Project Builder oftenly crashes when i 'quit' PB. (So I don't do that very often;) 2) A few times, certain lines in the code has just changed itself ('tell progress indicator myProgressInd' changes to 'tell ��class �� myProgressInd'. This bug makes the compiled app to generate errors. Free up RAM to PB, search and replace on ��class �� in the code seems to help. 3) The dictionary paths, or something, seems to confuse PB sometimes.
Can probably live with the above, but:
� Is there any limints in OSX, to the number of lines that a script can have?
� Would splitting up into several files eliminate any 'memory problems'?
Have asked a certain Apple representative, but no reply yet.
/thomas
Technical Details
Message-ID:
<2ccd8b2c.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f939a,2315b4726a57fbb6,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-09-26 01:36:42 PST From: "Thomas Lundin" <thomas.lundin@memo.ikea.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: [A Studio, OS X 10.2.6 ] maximum number of lines in a script? Message-ID: <2ccd8b2c.-1@webx.la2eafNXanI> Date: Fri, 26 Sep 2003 01:01:55 -0700 Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit