• 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 not in the main thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAppleScript not in the main thread


  • Subject: Re: NSAppleScript not in the main thread
  • From: Nathan Day <email@hidden>
  • Date: Mon, 22 May 2006 16:02:38 +1000

All NSAppleScript instance seem to use the same ComponentInstance also the ComponentInstance may also be used by the main thread, to set up the application to be AppleScriptable perhaps. Each thread must have its own AppleScript ComponentInstance, in theory this you could have multiple thread each running there own AppleScript, but I have not been able to get this to work only one AppleScript in a seperate thread to the main thread. NDAppleScriptObject lets you do this, though you are probable better using my replace classes for NDAppleScriptObject, NDScriptData and its descendent class NDScriptHandler and NDScriptContext, I haven't made them available on my web site properly yet as I have not completed the documentation for them I also want to add some more feature and get the multi threading working properly, ie more than one thread running AppleScripts. You can download it here
<http://homepage.mac.com/nathan_day/.cv/nathan_day/Public/Source Code/NDScript.dmg-binhex.hqx>

On Monday, May 22, 2006, at 01:25AM, Mike Abdullah <email@hidden> wrote:

>
><<Original Attached>>


Nathan Day
email@hidden
http://homepage.mac.com/nathan_day/
 _______________________________________________
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 not in the main thread
      • From: Daniel Jalkut <email@hidden>
    • Re: NSAppleScript not in the main thread
      • From: John Stiles <email@hidden>
References: 
 >NSAppleScript not in the main thread (From: Christoph Vogelbusch <email@hidden>)
 >Re: NSAppleScript not in the main thread (From: Nathan Day <email@hidden>)
 >Re: NSAppleScript not in the main thread (From: Mike Abdullah <email@hidden>)

  • Prev by Date: NSTableView and row
  • Next by Date: Re: NSTableView and row
  • Previous by thread: Re: NSAppleScript not in the main thread
  • Next by thread: Re: NSAppleScript not in the main thread
  • Index(es):
    • Date
    • Thread