• 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 with threading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAppleScript with threading


  • Subject: Re: NSAppleScript with threading
  • From: Daniel Jalkut <email@hidden>
  • Date: Mon, 9 May 2005 09:25:27 -0700

But can the second-thread script do anything that regular AppleScripts might do? Display dialog? It seems that AppleScripts implicitly do lots of "not threadsafe" behavior by virtue of the APIs that their supporting commands use.

Daniel

On May 9, 2005, at 5:14 AM, Nathan Day wrote:

To execute AppleScripts within another thread you need to create your own scripting component, to do this you need to use carbon API or you can use my NDAppleScriptObject class which comes with a class call NDComponentInstance. I have only be able to make this work reliably with one applescript at a time, ie one thread to free up the main thread.


_______________________________________________
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 with threading
      • From: Nathan Day <email@hidden>
References: 
 >NSAppleScript with threading (From: Thomas Clement <email@hidden>)
 >Re: NSAppleScript with threading (From: Nathan Day <email@hidden>)

  • Prev by Date: Re: Help not working using key equivalent
  • Next by Date: DebugAssert when getting a window
  • Previous by thread: Re: NSAppleScript with threading
  • Next by thread: Re: NSAppleScript with threading
  • Index(es):
    • Date
    • Thread