• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can I get page size of each page in a pdf
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I get page size of each page in a pdf


  • Subject: Re: Can I get page size of each page in a pdf
  • From: demski <email@hidden>
  • Date: Thu, 3 Jan 2008 15:47:11 +0100

Hi Patrik,
I think, the solution would be to get the media box of every page of the document.


built in a loop going over "count of pages of...":

tell application "Adobe Acrobat Professional" --I don't have Version 7 installed here...
set Box to media box of page 1 of document 1
end tell


hth

demski


Am 03.01.2008 um 08:33 schrieb Patrik B.:

Hi,

I am trying to split and file (a big pdf with differently sized pages) into
many single evenly sized pdfs (based on dimension not filesize). In order to
do this I need to be able to read the page sizes.


How do I do this via applescript?

I tried this

Tell app "adobe acrobat 7.0 Professional"
get size of page 1 of document 1
end

This runs but I get no result - what is the correct wording for this action?

Patrik
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40unter-anderem.com
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Can I get page size of each page in a pdf (From: "Patrik B." <email@hidden>)

  • Prev by Date: Re: Dates
  • Next by Date: Dates in General
  • Previous by thread: Can I get page size of each page in a pdf
  • Next by thread: How can I round in applescript to 3 digits after a period?
  • Index(es):
    • Date
    • Thread