Re: Converting Tiff's to PDF
Re: Converting Tiff's to PDF
- Subject: Re: Converting Tiff's to PDF
- From: Rick Dwyer <email@hidden>
- Date: Thu, 8 Jan 2009 15:33:48 -0500
On Jan 8, 2009, at 3:25 PM, Michelle Steiner wrote:
On Jan 8, 2009, at 12:58 PM, Paul Berkowitz wrote:
On the other hand, the way to do it in GC is not immediately
obvious - it's
erroring my 'save window 1 as "PDF "' but there must be some way to
do it in
GC.
On Lemke's website, they provide a script for conversion (listed
below) but for some reason, it continually opens my Tiffs in Preview
and NOT GC, even though it's GC being told to open the file.
tell application "Finder"
activate
set file_path to (choose folder with prompt "Pick your folder")
-- display dialog file_path as text
set file_list to every file of folder file_path whose name contains
".tif"
end tell
set AppleScript's text item delimiters to {"."}
repeat with i from 1 to number of items in file_list
set myitem to item i of file_list
set my_file to name of myitem
-- display dialog my_file as text
set my_new_file1 to first text item of my_file & ".pdf" as text
tell application "GraphicConverter"
try
open myitem
save window my_file in my_new_file1 as PDF
close window my_new_file1
end try
end tell
end repeat
set AppleScript's text item delimiters to {""}
--Rick
_______________________________________________
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