• 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: Process monitoring
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Process monitoring


  • Subject: Re: Process monitoring
  • From: Michael Watson <email@hidden>
  • Date: Sat, 10 Feb 2007 11:58:35 -0500

I think so. Look into the following notifications:

NSApplicationWillResignActiveNotification
NSApplicationDidResignActiveNotification
NSApplicationWillBecomeActiveNotification
NSApplicationDidBecomeActiveNotification

One of these notifications likely applies to what you want to accomplish.

http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/Classes/NSApplication_Class/Reference/Reference.html

--
m-s

On 09 Feb, 2007, at 16:47, Scott Ribe wrote:

Is there any way to be notified when the frontmost process changes, rather
than polling process info?


--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
40bungie.org


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Process monitoring (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: NSDirectoryEnumerator question
  • Next by Date: Re: About nswindow animation?
  • Previous by thread: Process monitoring
  • Next by thread: Is a textfieldcell truncating?
  • Index(es):
    • Date
    • Thread