Get the media box size in inches of a PDF using Acrobat Pro XI

Hello everyone,

is there a way to obtain in inches or any other measurement unit the size of the Media Box of a PDF?

Thank you

Hi There,

this will return an array for the Media box:

tell application "Adobe Acrobat Pro"
	tell active doc
		tell page 1
			set mb to media box
		end tell
	end tell
end tell

Thanks,
Nik

thank you, i was missing the tell statement for page 1.

But now, how can I extract each measurement separately?

Sorry I’m not too good with that! :o

I got it :slight_smile: