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

NSAppleScript not in the main thread


  • Subject: NSAppleScript not in the main thread
  • From: Christoph Vogelbusch <email@hidden>
  • Date: Fri, 19 May 2006 22:47:23 +0200

Hi,

I just read in the "Multithreading Programing Topics" that NSAppleScript should only be used from the main thread.

My "application" is running as a plug-in in iTunes and I want to extend the song information using NSAppleScript.
As the plug-in is not running in the main thread I could never run my AppleScript from the main thread and as NSAppleScript is slow I want to create a separate thread for the AppleScript calls.


What kind of problems can I expect from running AppleScript from another thread (and accessing the same application with it)?
How can I avoid these problems?


Greeting from Germany
Christoph Vogelbusch
_______________________________________________
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: Nathan Day <email@hidden>
    • Re: NSAppleScript not in the main thread
      • From: Craig Altenburg <email@hidden>
    • Re: NSAppleScript not in the main thread
      • From: Nick Zitzmann <email@hidden>
    • Re: NSAppleScript not in the main thread
      • From: Kenny Leung <email@hidden>
  • Prev by Date: Re: Trouble using ANY operator in an NSArrayController search predicate
  • Next by Date: Re: Binding to Accessors of Application Delegate
  • Previous by thread: Re: NSSecureTextFieldCell in NSTableView
  • Next by thread: Re: NSAppleScript not in the main thread
  • Index(es):
    • Date
    • Thread