Re: Using NSApplescript while keeping UI responsive
Re: Using NSApplescript while keeping UI responsive
- Subject: Re: Using NSApplescript while keeping UI responsive
- From: Andreas Mayer <email@hidden>
- Date: Wed, 28 Jul 2004 09:38:39 +0200
Am 28.07.2004 um 06:04 Uhr schrieb Andrew Thompson:
Its not that its not thread safe, its that it has an absolute
requirement that it only ever be called from the application's main
thread.
Um... are you sure? I'm calling NSAppleScript from a separate thread
regularly and it works quite well. I DO get the occasional crash (every
few hours) though. You think that is related?
So do I always have to execute AppleScripts from the main thread?
That'd be bad because AppleScript is quite slow ...
Andreas
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.