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

Re: NSDistributedNotification names


  • Subject: Re: NSDistributedNotification names
  • From: Marco Cassinerio <email@hidden>
  • Date: Mon, 24 Mar 2008 11:14:02 +0100



If done through NSDistributedNotificationCenter or NSWorkspace's special notification center, then yes. Otherwise, no. What exactly are you trying to accomplish?


Nick Zitzmann
<http://www.chronosnet.com/>


I would my application be notified when:

- another application has been launched
- another application is being switched to active (for now, i check periodically the active application with NSWorkspace)
- another application opens new window or document window
- another application changes the frontmost window
- another application is performing an open/save action


Currently I'm doing that through apple script, but i'm searching for a better and cleaner way.

Marco
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Follow-Ups:
    • Re: NSDistributedNotification names
      • From: Jens Alfke <email@hidden>
References: 
 >NSDistributedNotification names (From: Marco Cassinerio <email@hidden>)
 >Re: NSDistributedNotification names (From: "Sherm Pendley" <email@hidden>)
 >Re: NSDistributedNotification names (From: Marco Cassinerio <email@hidden>)
 >Re: NSDistributedNotification names (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: How do I disable this warning: "local declaration of 'varname' hides instance variable"
  • Next by Date: Perform selector on thread
  • Previous by thread: Re: NSDistributedNotification names
  • Next by thread: Re: NSDistributedNotification names
  • Index(es):
    • Date
    • Thread