Image event scripting
Image event scripting
- Subject: Image event scripting
- From: mark <email@hidden>
- Date: Thu, 17 Mar 2005 23:33:50 -0500
This is my first try at Image event scripting. This is pretty much
straight from the documentation at
http://www.apple.com/applescript/imageevents/03.html.
I am able to read the properties and the resolution displays as
expected. None of the modification are made the "close saving ask"
doesn't ask.
Am I missing something from the documentation?
Thanks for any help.
mw
set this_file to choose file
try
tell application "Image Events"
launch
set this_image to open this_file
flip this_image with horizontal
rotate this_image to angle 270
pad this_image to dimensions {640, 480}
scale this_image by factor 0.75
--note: "scale this_image to by factor 0.75" in
documents wouldn't compile.
save this_image with icon
close this_image saving ask
end tell
on error error_message
display dialog error_message
end try
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden