• 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: Using NSApplescript while keeping UI responsive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSApplescript while keeping UI responsive


  • Subject: Re: Using NSApplescript while keeping UI responsive
  • From: Andreas Mayer <email@hidden>
  • Date: Wed, 28 Jul 2004 09:38:39 +0200

Am 28.07.2004 um 06:04 Uhr schrieb Andrew Thompson:

Its not that its not thread safe, its that it has an absolute requirement that it only ever be called from the application's main thread.

Um... are you sure? I'm calling NSAppleScript from a separate thread regularly and it works quite well. I DO get the occasional crash (every few hours) though. You think that is related?

So do I always have to execute AppleScripts from the main thread? That'd be bad because AppleScript is quite slow ...


Andreas
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Using NSApplescript while keeping UI responsive
      • From: Andrew Thompson <email@hidden>
References: 
 >Using NSApplescript while keeping UI responsive (From: Edison Thomaz <email@hidden>)
 >Re: Using NSApplescript while keeping UI responsive (From: Nick Zitzmann <email@hidden>)
 >Re: Using NSApplescript while keeping UI responsive (From: Edison Thomaz <email@hidden>)
 >Re: Using NSApplescript while keeping UI responsive (From: email@hidden)
 >Re: Using NSApplescript while keeping UI responsive (From: Andrew Thompson <email@hidden>)

  • Prev by Date: Re: Where is NSList?
  • Next by Date: Re: Crash with NSPrintOperation ?!
  • Previous by thread: Re: Using NSApplescript while keeping UI responsive
  • Next by thread: Re: Using NSApplescript while keeping UI responsive
  • Index(es):
    • Date
    • Thread