• 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 22:16:15 +0100

My pleasure, Christopher!

—————— run that in Smile
set fPDF to [ some posix path here, e.g. "/Users/emmanuel/Desktop/somePDF.pdf" ]
set npages to (count pages fPDF)
repeat with ipage from 1 to npages
	set onePageName to change ".pdf" into "-p." & ipage & ".pdf" in fPDF
	insert pdf fPDF page ipage in onePageName
end repeat
——————

Excerpt from Smile’s dictionary:

insert pdf v : merge pdf files
	insert pdf alias : the file containing the pages to add
		[page integer] : the first page to copy. Default: 1
		[thru integer] : the last page to copy. Default: 1
		in alias : the destination file
		[at integer] : the index of the insertion in the destination file. Default: at end

Happy new year!
Emmanuel

> On Jan 07, 2017, at 09:40, Emmanuel Lévy <email@hidden> wrote:
>> Interested in a solution with Smile ?
>
> Hey Emmanuel,
>
> Of course!  Bring it!  :)
>
> --
> Take Care,
> Chris
>
> _______________________________________________
> 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


References: 
 >Can Acrobat PDF's be saved as single pages via Applescript (From: Brian Christmas <email@hidden>)
 >Re: Can Acrobat PDF's be saved as single pages via Applescript (From: Emmanuel Lévy <email@hidden>)
 >Re: Can Acrobat PDF's be saved as single pages via Applescript (From: Christopher Stone <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