• 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: NSAppleScript crash on executeAndReturnError
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAppleScript crash on executeAndReturnError


  • Subject: Re: NSAppleScript crash on executeAndReturnError
  • From: Nick Zitzmann <email@hidden>
  • Date: Sun, 28 Nov 2004 15:08:22 -0700


On Nov 28, 2004, at 1:58 PM, James J. Merkel wrote:

which I would expect, but the application also (sometimes) crashes.
I would have expected that, since an error was detected, a crash would not occur.
Is this a bug in NSAppleScript. or am I doing something else wrong?

Are you running the AppleScript in a thread other than the main thread? NSAppleScript is not thread-safe, and may crash the application if used from a thread other than the main thread.


Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSAppleScript crash on executeAndReturnError
      • From: "James J. Merkel" <email@hidden>
References: 
 >NSAppleScript crash on executeAndReturnError (From: "James J. Merkel" <email@hidden>)

  • Prev by Date: Re: NSAppleScript crash on executeAndReturnError
  • Next by Date: Re: Encoding a pointer to an object, not the object itself
  • Previous by thread: Re: NSAppleScript crash on executeAndReturnError
  • Next by thread: Re: NSAppleScript crash on executeAndReturnError
  • Index(es):
    • Date
    • Thread