What does "access" mean for NSAppleScript?
What does "access" mean for NSAppleScript?
- Subject: What does "access" mean for NSAppleScript?
- From: "Paul J. Lucas" <email@hidden>
- Date: Fri, 23 Feb 2007 10:06:43 -0800
The documentation for NSAppleScript says:
You should access NSAppleScript only from the main thread.
But what does "access" mean? Does it mean that one should *execute*
scripts only from the main thread, or does it mean that *all*
NSAppleScript methods (including "init" methods) should be called
only from the main thread?
Ideally, I want to call initWithSource and compileAndReturnError from
an arbitrary thread but call executeAndReturnError from the main thread.
- Paul
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden