🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #104

Re: [JS CS3] Getting Document of Grepsearch-Result

#104
From: Peter Kahrel
Date: Thu, 02 Apr 2009 08:47
5 lines
774 bytes
myGrepText[i].parentStory.parent;

Though ideally you you check if that is indeed a document in order to cope with text found in anchors, overset text, etc.

Peter
Technical Details
Message-ID: <59b87a80.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b87a80.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,aab8857f999a85e6
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Peter Kahrel" <kahrel@kahrel.plus.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [JS CS3] Getting Document of Grepsearch-Result
Message-ID: <59b87a80.0@webcrossing.la2eafNXanI>
Date: Thu, 2 Apr 2009 01:47:26 -0700
References: <59b87a80.-1@webcrossing.la2eafNXanI>
Lines: 6
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit