Hi folks,
I pretend get the geometric bounds fo all items in the page of InDesign as list,
I tried to select every item in the page and get the size of that group. But on every atempt a make
script editor gives such an error:
(tell application “InDesign CS”
get size of all page items
“InDesign CS got an error: Can’t get size of all page items.”)
How do I get the geometric bounds of every item in the frontmost page of InDesign???
could you help me??
property myResults : {}
tell application "Adobe InDesign CS2"
activate
set theDocument to the active document
tell theDocument
tell page 1
set myFrames to every rectangle
repeat with eachFrame in myFrames
set x to geometric bounds of eachFrame
copy x to end of myResults
end repeat
end tell
end tell
end tell
return myResults