Re: Can Acrobat PDF's be saved as single pages via Applescript
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