• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Image event scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Image event scripting
      • From: yvan-koenig <email@hidden>
  • Prev by Date: Re: getting chunks of text
  • Next by Date: Re: list to a text representation of that list (followup)
  • Previous by thread: ichat
  • Next by thread: Re: Image event scripting
  • Index(es):
    • Date
    • Thread