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

Re: Is Image Events working?


  • Subject: Re: Is Image Events working?
  • From: "Stockly, Ed" <email@hidden>
  • Date: Thu, 23 Oct 2008 18:37:44 -0700
  • Thread-topic: Is Image Events working?


> I would like to ask the following from you, please run the following,
> Apple provided, script:
>

Worked fine here too, Tiger 10.4.11

When and where was it not working?

ES

set thisFile to choose file
set the verticalCrop to 24
set the horizontalCrop to 48
try
    tell application "Image Events"
        launch
        set thisImage to open thisFile
        copy dimensions of thisImage to {w, H}
        crop thisImage ¬
            to dimensions {w - horizontalCrop, H - verticalCrop}
        save thisImage with icon
        close thisImage
    end tell
on error errorMessage
    display dialog errorMessage
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:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: choose file of type {}
  • Next by Date: Re: Is Image Events working?
  • Previous by thread: Re: Is Image Events working?
  • Next by thread: Re: Is Image Events working?
  • Index(es):
    • Date
    • Thread