Re: NSAppleScript not in the main thread
Re: NSAppleScript not in the main thread
- Subject: Re: NSAppleScript not in the main thread
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 19 May 2006 15:21:43 -0600
On May 19, 2006, at 2:47 PM, Christoph Vogelbusch wrote:
What kind of problems can I expect from running AppleScript from
another thread (and accessing the same application with it)?
Crashes.
How can I avoid these problems?
You can try playing Russian Roulette with it if you'd like, but the
documentation change was made after a number of people in this group
complained that NSAppleScript was crashing while compiling/running
their script in a thread other than the main thread. For example:
<http://www.cocoabuilder.com/archive/message/cocoa/2004/8/18/114896>
The only 100% safe way to run the class is in 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