Chris,
Here is an AppleScript that can be used to replace all of the text in a "Run AppleScript" Automator action that will do what you want. You will also have to download "Imagine Photo" that is a freeware application to do the conversion. I have modified the scripts that were available from that site. It is located here:
http://www.yvs.eu.com/imaginephoto.html
click here to
open this script in your editor
<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">property thePDFFolder : ((path to desktop) as string) & "PDF Folder"
property theExportFolder : ((path to desktop) as string) & "TIFF Folder" as alias
property exportType : "TIFF"
property theFileExtension : ".tif"
to RemoveFileExtension(fileName)
set tids to (AppleScript's text item delimiters)
set AppleScript's text item delimiters to {"."}
set NbTxtItems to count of text items of the fileName
if NbTxtItems is greater than 1 then
set newFileName to ((text items 1 thru -2 of the fileName) as string)
else
set newFileName to ((text item 1 of the fileName) as string)
end if
set AppleScript's text item delimiters to tids
return newFileName
end RemoveFileExtension
on run {input, parameters}
tell application "Finder"
set theFiles to the items of folder thePDFFolder
repeat with thisFile in theFiles
set thisFileRef to thisFile
set thisFileName to name of thisFileRef
set thisFileName to my RemoveFileExtension(thisFileName)
tell application "iMagine Photo"
set thisImporter to import graphic thisFileRef as alias
if the component error of thisImporter is not equal to 0 then
close thisImporter
return
end if
tell thisImporter to make exporter with properties {export file type:exportType, export folder location:theExportFolder, export file name:(thisFileName & theFileExtension)}
export thisImporter
close thisImporter
end tell
end repeat
end tell
return input
end run
</pre>
PowerBook 12" Mac OS X (10.4.6)