• 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: NSTimer in Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTimer in Tiger


  • Subject: Re: NSTimer in Tiger
  • From: j o a r <email@hidden>
  • Date: Fri, 8 Jul 2005 18:12:53 +0200


On 8 jul 2005, at 18.04, Julio Cesar Silva dos Santos wrote:

I have an application that uses an NSTimer to monitor another application (if it is running, paused, etc.) and it worked fine in Panther but now I have made an upgrade to Tiger using XCode 2.1 and the app behaviour has changed. When the monitored application is not running, every time the NSTimer fires the main app hangs showing the multicolored mouse pointer. The monitoring method calls an AppleScript that checks the state of the other application (by calling "if process 'AppName' exists then'). When the other app is already running, there is no hanging. Has anybody noticed this behaviour?

I don't quite see what NSTimer has to do with this? It seems more likely that the behaviour of your script has changed. What happens if you run it from the Script Editor?


If you break in the debugger when the app is hanging, what is the backtrace?

j o a r



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >NSTimer in Tiger (From: Julio Cesar Silva dos Santos <email@hidden>)

  • Prev by Date: Re: can't make an NSButton small enough
  • Next by Date: Re: NSTask: script not int the executable path
  • Previous by thread: NSTimer in Tiger
  • Next by thread: Power Manager in Tiger
  • Index(es):
    • Date
    • Thread