[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(DTPtechNote:550) Re: InDesignのgroup



>あ、いや、もちろんgroupオブジェクトにtellしてobject refrenceを引っ張ってくれば、

こんなやり方でも吉
tell application "InDesign 2.0.2J"
	tell document 1
		tell page 1
			set my_count to 0
			set page_item to all page items
			repeat with i in page_item
				if class of i = text frame then
					--何かの処理(object referenceを取るとか...)
					set my_count to my_count + 1
				end if
			end repeat
		end tell
	end tell
end tell