Article View: adobe.scripting.indesign
Article #199Re: Using for ... in with arrays
From: xbytor
Date: Tue, 31 Mar 2009 17:16
Date: Tue, 31 Mar 2009 17:16
5 lines
990 bytes
990 bytes
> Isn't myDoc.characterStyles an array? There are 'Collection' objects in Adobe/JS-land that look kinda like Arrays but really aren't. It would have been very nice if they would have made these collection objects proper subclasses of Array.
Technical Details
Message-ID:
<8A75506028AA5ECA7F5F50931FE92049@in.webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newsfeed.news2me.com!newshub.sdsu.edu!webcrossingReferences:
<59b87616.-1@webcrossing.la2eafNXanI> <59b87616.7@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,709551d954315a95 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: xbytor@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newsfeed.news2me.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Using for ... in with arrays Message-ID: <8A75506028AA5ECA7F5F50931FE92049@in.webcrossing.la2eafNXanI> Date: Tue, 31 Mar 2009 10:16:49 -0700 References: <59b87616.-1@webcrossing.la2eafNXanI> <59b87616.7@webcrossing.la2eafNXanI> Lines: 7 User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit