I was wondering how you would go about changing an image from one format to anther e.g. (PSD to JPG). I am guessing it would probably involve the invocation of shell script or something similar.
set theImage to choose file of type "PSD"
set theOutputFolder to choose folder
tell application "Image Events"
launch
set theImageReference to open theImage
tell theImageReference
save in (theOutputFolder as string) & "Converted.jpg" as JPEG
close
end tell
end tell