• 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 Acrobat PDF's be saved as single pages via Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can Acrobat PDF's be saved as single pages via Applescript


  • Subject: Re: Can Acrobat PDF's be saved as single pages via Applescript
  • From: Emmanuel Lévy <email@hidden>
  • Date: Sat, 07 Jan 2017 16:40:46 +0100

Interested in a solution with Smile ?

Emmanuel

> Le 07 Jan 2017 à 11:29, Brian Christmas <email@hidden> a écrit :
>
>
>
>
> G’day
>
> At the moment, I’m saving individual pages of multi-page PDF’s via the GUI.
>
> It’s slow, but by saving them as TIFFS, then re-opening them, the trim to the crop marks, which for my Clients is essential.
>
> Every second counts, but my efforts at trying tio dsave pages via Applescript have been fruitless, anfd there’s  nothing on the net.
>
> I’ve converted a script that saes Documents, but no way it will work.
>
> Anyone know how to do it?
>
> The error trap is that recent Acrobat versions limit the TIFF sizes to international standards, so I trap the error, and save the page as a JPEG.
>
> Regards
>
> Santa
>
> set thePath to ((path to desktop as text) & "Temporary Acrobat TIFFS" & ":")
>
> tell application "Adobe Acrobat"
> 	activate
> 	tell document 1
> 		set tempName to name
> 		say (count of pages)
> 		repeat with x from 1 to count of pages
> 			set eachPage to page x
> 			tell eachPage
> 				try
> 					save to file (thePath & (" Page " & x & " " & tempName)) using conversion "com.adobe.acrobat.tiff"
> 				on error
> 					try
> 						save to file (thePath & (" Page " & x & " " & tempName)) using conversion "com.adobe.acrobat.jpeg"
> 					on error errmsg
>
> 						tell application "System Events" to display dialog errmsg
> 					end try
> 				end try
> 			end tell
> 		end repeat
> 	end tell
> end tell
>
>
> THE GUI SCRIPT (rather long) Darn, too long to post it.
>
>
>
> _______________________________________________
> 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


 _______________________________________________
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


  • Follow-Ups:
    • Re: Can Acrobat PDF's be saved as single pages via Applescript
      • From: Christopher Stone <email@hidden>
References: 
 >Can Acrobat PDF's be saved as single pages via Applescript (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: Can Acrobat PDF's be saved as single pages via Applescript
  • Next by Date: Re: Can Acrobat PDF's be saved as single pages via Applescript
  • Previous by thread: Re: Can Acrobat PDF's be saved as single pages via Applescript
  • Next by thread: Re: Can Acrobat PDF's be saved as single pages via Applescript
  • Index(es):
    • Date
    • Thread