🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19005

"row" on page 1 or on page 2? Is there a way?

#19005
From: Armin.Egginger
Date: Sun, 26 Jan 2003 22:12
22 lines
1942 bytes
Hi all ID scripter,

I have a new problem with the row check. My document has more then 30 pages and a table, which starts in the first page and ends in the last page. Now I want to check the row - is the telling row on page 1 or on the next page. If I ask the row properties, ask the next row....I can't get any difference in the properties - I get only the info/reference from >>"table 1 of text frame 1 of page 1 of document "test"<< always the same properties/references.

If I ask the row 300 (it is on page 26) I get only the info/reference for page 1, because the table starts in this page - there is no info that this row is on page 26. But I need the real page info/reference from this row. Is there a way to get the real page info from a row?

Many thanks

Armin

PS. this forum is really great - It is the best I ever visit - many, many thanks to everybody, who helps us beginners.

--my check properties script
tell application "InDesign 2.0.2"
	set myDocument to active document
	set therows to (count every row of table 1 of text frame 1 of page 1 of myDocument)
	tell table 1 of text frame 1 of page 1 of myDocument
		repeat with u from 1 to therows
			set theprop to properties of row u
		end repeat
	end tell
end tell
Technical Details
Message-ID: <1de78f51.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,7203538a108a08cc,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-01-26 14:38:13 PST
From: Armin.Egginger <armin.egginger@gmx.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: "row" on page 1 or on page 2? Is there a way?
Message-ID: <1de78f51.-1@WebX.la2eafNXanI>
Date: Sun, 26 Jan 2003 14:12:49 -0800
Lines: 33
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit