I’ve been messing with this for a week now on and off, and I can’t seem to get the syntax right. I can’t find an example anywhere on the web of where somebody has pulled off this script. The Applescript white paper for Photoshop says little to nothing about the “create pdf presentation” command. Can somebody help a noob to straighten this out?
I GUI scripted the scan import, which results in 2 to 10 pages “Untitled-1, Untitled-2, etc…” as active one-page documents. I need to use “create pdf presentation” to take these multiple documents and create a single multi-page pdf.
One hurdle is how to designate those open docs as the “list of alias”.
The script, once all put together, would allow me to scan multi page docs into a pdf on my desktop or a folder. Here’s what I have so far for the 2nd half, burning it to a pdf.
tell application "Adobe Photoshop CS"
set myAlias to current documents
create PDF presentation
from files myAlias
to file "Macintosh HD/Users/BradyPB17/Desktop/NameofPDF.pdf"
end tell
It won’t compile, after trying dozens of different approaches. The dictionary for Photoshop CS gives this general format:
create PDF presentation‚v : create a PDF presentation file
create PDF presentation
from files list of alias : list of input files to include in the output
to file file specification : location of the output file
[with options presentation options] : options for the PDF presentation
→ Unicode text : create a PDF presentation file
Any help would be greatly appreciated. This would be an awesome script for archiving documents.
Thanks up front