Quark, scripting table properties

Hi,

Couple questions about basic syntax for QuarkXPress tables (6.5)

Lets assume first that I have the table selected, and its the only one in the document, and I’ve set my units to points.

If I want to adjust the height of a row, how come this won’t work:


	tell table box 1
		set CC to table row 1
		tell CC
			set height of bounds to 65
		end tell
	end tell

(I tried to return the bounds of the table row, but this errors, saying “can’t return height of bounds of table row 1”)

I can return a height for a cell… but I’m not able to modify it.
At least this doesn’t work:


	tell table box 1
		set CC to text cell 1
		tell CC
			set height of bounds to 65
		end tell
	end tell

There must be something syntactically that I’m not thinking of. Can anyone help?

Hi,

According to this article written by Ben Waldie the syntax is as follows (at least for QXP 7):


tell application "QuarkXPress" 
	tell table box 1 of page 1 of document 1 
		set height of table row 1 to 3 
		set width of table column 2 to 3 
	end tell 
end tell 

Yeah, I read that after I posted, and spoke with him. There were a lot of limitations in the scripting dictionary in 6.5 that were addressed in 7.