Article View: adobe.scripting.indesign
Article #10090Re: How to begin scripting?
From: Dave_Saunders
Date: Fri, 07 Jul 2006 19:46
Date: Fri, 07 Jul 2006 19:46
7 lines
957 bytes
957 bytes
Phew, I thought I was going nuts, but the answer is that you introduced a semicolon where there shouldn't be one.
for (j = 0; myOsetList.length > j; j++); {
That semi-colon causes the loop to run to the end without doing anything. Get rid of it (it wasn't there in the earlier message) and the script should now work.
Davae
Technical Details
Message-ID:
<3bbd759f.114@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bbd759f.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,dd9eb181c1e6fc23 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Dave_Saunders@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: How to begin scripting? Message-ID: <3bbd759f.114@webcrossing.la2eafNXanI> Date: Fri, 7 Jul 2006 12:46:48 -0700 References: <3bbd759f.-1@webcrossing.la2eafNXanI> Lines: 10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing