🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #427

Re: Get links parent page object

#427
From: Rasmus_Olsen
Date: Tue, 24 Mar 2009 12:55
13 lines
1201 bytes
Ah, I see. But the placed files can be part of groups. This adds another segment to the parent hierarchy:

myLink.parent > object pdf
myLink.parent.parent > object rectangle
myLink.parent.parent.parent > object group
myLink.parent.parent.parent.parent> object page

With constructor magic I was thinking of a loop of some kind that would go up through the parents as long as object was different from page object. But judging from your reply this isn't possible.

Do you have a tip on what statement to use to distinguish between links part of a group and not?

Regards,
Rasmus
Technical Details
Message-ID: <59b86461.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
References: <59b86461.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,3832bf53e2cd6c7b
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Rasmus_Olsen@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Get links parent page object
Message-ID: <59b86461.1@webcrossing.la2eafNXanI>
Date: Tue, 24 Mar 2009 05:55:01 -0700
References: <59b86461.-1@webcrossing.la2eafNXanI>
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit