Re: saving in Acrobat
Re: saving in Acrobat
- Subject: Re: saving in Acrobat
- From: John Cochrane <email@hidden>
- Date: Tue, 29 Nov 2005 22:43:22 +1100
On 29/11/2005, at 8:08 PM, Martin Orpen wrote:
on 29/11/05 08:06, Rob Stott at email@hidden wrote:
You're right, Image Events / sips or Photoshop would probably be
easier. I'm
assuming there's some reason John needs to use Acrobat.
The advantage of Acrobat is that the file size is much smaller. I
created a very ugly hack by copying the image from the temp items
folder. This was the only way I could get it to work with my version of
acrobat.
As you pointed out Martin, Image Events does not have an option to save
as pdf.
I did not know about sips and Rob has sent me a droplet which I can
modify for my purposes.
The guts of the script is
tell application "Finder"
set theName to the displayed name of theInputFile
end tell
set theDestinationFile to quoted form of (POSIX path of
theInputFile & ".pdf")
do shell script "sips -s format pdf " & quoted form of
POSIX path of theInputFile & " -o " & theDestinationFile
I would like to keep file sizes small. I have called Automator scripts
from Applescript before and I will look at using the compress PDF
option it has.
I've just sent John an off-list message suggesting that he use
GraphicConverter.
Thanks for showing me how to use GC to batch convert to pdf files but I
was looking for a scriptable solution and as you mentioned GC cannot be
scripted to produce pdf files. (pity)
Thanks again for your replies, I have been educated.
John Cochrane
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden