Re: Scripting InDesign Tables
Re: Scripting InDesign Tables
- Subject: Re: Scripting InDesign Tables
- From: Ed Stockly <email@hidden>
- Date: Sat, 6 Oct 2007 12:46:13 -0700
I find it fairly easy to refer to individual cells, but I haven't
figured out how to refer to rows.
>>You refer to rows much the same as cells. But because rows (and
columns) are
just collections of cells, you often address the cells of a row.
Thanks, Shane,
If the user has a cell selected, I can easily get a reference to the
cell that I can work with, but I'm trying to get an object reference
to the row, column and the table itself that contain the cell.
parent row, parent column and parent all seemed like they should work
and they do provide some sort of reference, but not one I can use in
a later command.
set thisRow to the object reference of the parent row of myCell
count count lines of cells of row x
set myColumn to the parent column of myCell
set myLabel to contents of cell 2 of myColumn
set myTable to table 1 of myCell
set myRows to every Row of myTable
Those are the kinds of commands I need to make work.
>>>(Which will ignore overset copy, BTW.)
Great, thanks, I can jump off that bridge when I come to it. I'm
hoping I'll be able to identify which cells have overset and adjust
those lines to fit as needed.
Ed
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden