• 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: Return from Handler... What am I Missing Here?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Return from Handler... What am I Missing Here?


  • Subject: Re: Return from Handler... What am I Missing Here?
  • From: Christopher Stone <email@hidden>
  • Date: Sat, 17 Oct 2015 13:36:33 -0500

On Oct 17, 2015, at 12:22, S. J. Cunningham <email@hidden> wrote:
Another rookie error, I suppose.  Why does the first case work and the second fail?
______________________________________________________________________

Hey Steve,

It's generally unwise to use the Result variable except in cases where it's truly useful, and you know exactly what you're doing.

Result makes scripts much more difficult to debug and is subject to side-effects you may not foresee.

I quit using it 20 years ago except in very rare cases (usually in quick and dirty one-off scripts).

--
Best Regards,
Chris

 _______________________________________________
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: Return from Handler... What am I Missing Here?
      • From: Steve Mills <email@hidden>
References: 
 >Return from Handler... What am I Missing Here? (From: "S. J. Cunningham" <email@hidden>)

  • Prev by Date: Re: Return from Handler... What am I Missing Here?
  • Next by Date: Re: Return from Handler... What am I Missing Here?
  • Previous by thread: Re: Return from Handler... What am I Missing Here?
  • Next by thread: Re: Return from Handler... What am I Missing Here?
  • Index(es):
    • Date
    • Thread