• 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
Is Image Events working?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is Image Events working?


  • Subject: Is Image Events working?
  • From: Deivy Marck Petrescu <email@hidden>
  • Date: Thu, 23 Oct 2008 18:35:04 -0400

A while back I asked if anyone was able to script Image Events.
As far as I remember, Shane was the only one to respond saying it did not work.
I filed a bug report and got a letter asking to provide more information since the Engineers could not reproduce my, so called, reproducible problem.
I tried IE now with the examples provided, and they seem to be working fine.
I would like to ask the following from you, please run the following, Apple provided, script:

<script>
set this_file to choose file
set the vertical_crop to 24
set the horizontal_crop to 48
try
tell application "Image Events"
-- start the Image Events application
launch
-- open the image file
set this_image to open this_file
-- get dimensions of the image
copy dimensions of this_image to {w, H}
-- perform action
crop this_image ¬
to dimensions {w - horizontal_crop, H - vertical_crop}
-- save the changes
save this_image with icon
-- purge the open image data
close this_image
end tell
on error error_message
display dialog error_message
end try
</script>

If you can, please report both on 10.5.5 and/or on 10.5.3( or earlier).
I really appreciate your help.
Thanks.

Deivy

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Is Image Events working?
      • From: Peter Waibel <email@hidden>
    • Re: Is Image Events working?
      • From: KOENIG Yvan <email@hidden>
    • Re: Is Image Events working?
      • From: Shane Stanley <email@hidden>
    • Re: Is Image Events working?
      • From: Martin Orpen <email@hidden>
  • Prev by Date: Re: mounting drives
  • Next by Date: Re: Is Image Events working?
  • Previous by thread: Re: resizing an image based on part of filename
  • Next by thread: Re: Is Image Events working?
  • Index(es):
    • Date
    • Thread