I need a hot folder to work that will take any single PDF (Currently high resolution, 70Mb) generated from my CTP Rip, and convert to a JPG file. The built in actions in Leopard dont seem to be stable, sometimes will work, other times not. Can someone point me in the right direction for this, also, I need to be able to control the DPI used (I need 140dpi)
Any help greatfully accepted.
Ta
Roy
Model: PowerBook G4 17"
Browser: Firefox 2.0.0.9
Operating System: Mac OS X (10.5)
property destinationFolder : "~/Desktop/" -- this currently points to the desktop folder of the current user
on adding folder items to this_folder after receiving these_items
repeat with oneFile in these_items
set {name:Nm, name extension:Ex} to info for oneFile
if Ex is "pdf" then
if Ex is missing value then set Ex to ""
if Ex is not "" then set Nm to text 1 thru ((count Nm) - (count Ex) - 1) of Nm
do shell script "/usr/bin/sips -s dpiHeight 140.0 -s dpiWidth 140.0 -s format jpeg " & quoted form of POSIX path of oneFile & " --out " & destinationFolder & Nm & ".jpg"
end if
end repeat
end adding folder items to