• 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: Image events: How do I cut out a region
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image events: How do I cut out a region


  • Subject: Re: Image events: How do I cut out a region
  • From: Axel Luttgens <email@hidden>
  • Date: Wed, 16 Apr 2008 08:04:27 +0200


Le 15 avr. 08 à 21:08, Skeeve a écrit :
[...]

One question in regards to that: I saved it as a program bundle and always recveive an error when it finishes because it cant write back the changed properties. If anyone has an idea how to solve that, please tell me...

Hello Skeeve,

This is very likely because your script tries to write back values of global entities, such as global variables or properties.
The localitity/globality of variables in the run handler (either implicit or explicit) is somewhat surprising...
Try to replace your "on run" handler with a custom "on DoIt()" handler, and call "DoIt()" from within your run handler; this should make variables such as "clicked" local ones.
Unless I'm wrong, your script does not change properties values, so the above should be sufficient.


HTH,
Axel

_______________________________________________
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: Image events: How do I cut out a region
      • From: Skeeve <email@hidden>
    • Re: Image events: How do I cut out a region
      • From: Skeeve <email@hidden>
References: 
 >Image events: How do I cut out a region (From: Skeeve <email@hidden>)
 >Re: Image events: How do I cut out a region (From: Skeeve <email@hidden>)
 >Re: Image events: How do I cut out a region (From: "Pat Cannon" <email@hidden>)
 >Re: Image events: How do I cut out a region (From: Skeeve <email@hidden>)
 >Re: Image events: How do I cut out a region (From: "Pat Cannon" <email@hidden>)
 >Re: Image events: How do I cut out a region (From: Skeeve <email@hidden>)

  • Prev by Date: Re: Automation Sans Window Server
  • Next by Date: Re: Automation Sans Window Server
  • Previous by thread: Re: Image events: How do I cut out a region
  • Next by thread: Re: Image events: How do I cut out a region
  • Index(es):
    • Date
    • Thread