Article View: adobe.scripting.indesign
Article #1204Re: Own parent
From: Harbs
Date: Sun, 15 Feb 2009 17:03
Date: Sun, 15 Feb 2009 17:03
15 lines
1261 bytes
1261 bytes
Very interesting! The same basic concept applies to text objects. A Character.characters[0].characters[0], etc. will always be the same object. It only works down the parent chain. If you work up the chain, the immediate parent will be the story. I think the fact that it works down the chain is probably a feature (i.e. if you do a search you can refer to characters[0] no matter what the search returns -- even a Character). The fact that cells work up the chain is probably a bug... -- Harbs http://www.in-tools.com
Technical Details
Message-ID:
<85A4538BEE2E91ED01B82D9E7869798E@in.webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!news.glorb.com!news2.glorb.com!news.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b7ed7c.-1@webcrossing.la2eafNXanI> <59b7ed7c.4@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,459fb98cd9a2cd7b X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Harbs Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!news.glorb.com!news2.glorb.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Own parent Message-ID: <85A4538BEE2E91ED01B82D9E7869798E@in.webcrossing.la2eafNXanI> Date: Sun, 15 Feb 2009 09:03:36 -0800 References: <59b7ed7c.-1@webcrossing.la2eafNXanI> <59b7ed7c.4@webcrossing.la2eafNXanI> Lines: 17 User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit