Photoshop resize scans

Hi there,
I'm a new Hazel user and I'm trying to automate my film scanning batch workflow with Hazel to do the following:
Scan dumps TIFF on desktop which Hazel picks up and checks which device it came from. If a certain scanner, it needs to resize and scale down the DPI then import into Aperture.
Most of it I have running apart from the resize part as I know it needs a Photoshop Applescript which I really cannot figure out. Right now I have this which doesn't compile
But I admit, I don't really know what I am doing at this stage having never used Applescripts. Help would be appreciated.
Also, it will probably be a really slow process having PS open just to resize. Is there another way of automating a resize - perhaps with Quartz? or a command line tool?
Thanks
Dan
I'm a new Hazel user and I'm trying to automate my film scanning batch workflow with Hazel to do the following:
Scan dumps TIFF on desktop which Hazel picks up and checks which device it came from. If a certain scanner, it needs to resize and scale down the DPI then import into Aperture.
Most of it I have running apart from the resize part as I know it needs a Photoshop Applescript which I really cannot figure out. Right now I have this which doesn't compile
- Code: Select all
tell "Adobe Photoshop CS4"
open theFile
tell theDocument
activate
resize image theDocument resolution 1600 resample method bicubic
save
end tell
end tell
But I admit, I don't really know what I am doing at this stage having never used Applescripts. Help would be appreciated.
Also, it will probably be a really slow process having PS open just to resize. Is there another way of automating a resize - perhaps with Quartz? or a command line tool?
Thanks
Dan