🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17833

AS Selecting parent paragraph

#17833
From: Roy Marshall
Date: Tue, 13 May 2003 20:05
9 lines
1068 bytes
I am trying to incororate this bit of code into AS, but I cannot find the correct way to select the parent paragraph of item n. PLEASE can someone help??
Cheers
Roy

set mypound to search myselection for "�"
	repeat with n from (count of mypound) to 1 by -1
		set mypara to parent paragraph of item n of mypound
		display dialog mypara as string
	end repeat
Technical Details
Message-ID: <1de91cfb.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!hermes.visi.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f939a,7dfee35d0c727d0,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-13 13:08:33 PST
From: "Roy Marshall" <royston_marshall@hotmail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!hermes.visi.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: AS Selecting parent paragraph
Message-ID: <1de91cfb.-1@WebX.la2eafNXanI>
Date: Tue, 13 May 2003 13:05:43 -0700
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit