• 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
What does "access" mean for NSAppleScript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: What does "access" mean for NSAppleScript?
      • From: Michael Watson <email@hidden>
  • Prev by Date: Re: PackageMaker. How to start application after closing installer.
  • Next by Date: Re: What does "access" mean for NSAppleScript?
  • Previous by thread: Re: Emulating modifier keys
  • Next by thread: Re: What does "access" mean for NSAppleScript?
  • Index(es):
    • Date
    • Thread