• 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: Skeeve <email@hidden>
  • Date: Thu, 17 Apr 2008 08:58:42 +0200

Axel Luttgens wrote:
This is very likely because your script tries to write back values of global entities, such as global variables or properties.
That's what I want to achieve.

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.
So in a run handler they are not local?

Unless I'm wrong, your script does not change properties values, so the above should be sufficient.
It does! sframe, eframe and last_folder are properties I change.

-- Skeeve
_______________________________________________
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: Axel Luttgens <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>)
 >Re: Image events: How do I cut out a region (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Applescript ToDo
  • Next by Date: Applescript ToDo
  • 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