Hello all
Could someone point me in the right direction please.
I have about 400 images that i would like to add drop shadows to.
Imagewell (http://www.xtralean.com/IWOverview.html) can do this, and give you a script to automatically do it, however there is no save option, and i do not really like the idea of running the script 400 times and saving each images one at a time.
Hopefully applescript to the rescue I have made an attempt by cutting and pasting a few things together, however its not working.
Can it be done?
if so what am i doing wrong?
-- save in Script Editor as Application
-- drag files to its icon in Finder
on open some_items
repeat with this_item in some_items
try
rescale_and_save(this_item)
end try
end repeat
end open
to rescale_and_save(this_item)
tell application "ImageWell"
launch
set this_image to open this_item
set shape to 0
set shapeattr to 0
set border to {0, 0, 0} as RGB color
set borderwidth to 0
set watermark to 0
set canvascolor to {65535, 65535, 65535} as RGB color
set dropshadow to 1
end tell
tell application "ImageWell"
activate
end tell
tell application "System Events"
tell process "ImageWell"
tell menu bar 1
tell menu bar item "File"
tell menu "File"
tell menu item "Save As..."
tell menu "Save As..."
end tell
end tell
end tell
end tell
end tell
end tell
end tell
end rescale_and_save