I'm new to AppleScript and am wondering if there is a way to return the size of all text frames and all image frames in my active document. Essentially, I am trying to calculate the square inches of all text frames and all image frames so that I can compare the two and find the ratio of text to images in the whole book. I've been able to use geometric bounds to return the bounds of individual text frames, but I can't figure out how to return the bounds of all text frames in the document and all image frames in the document to compare them. Sorry that this is a very basic question, most of what I've been able to find so far is about changing frame sizes, not finding the area of frames.
... View more