• 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: Tracking frontmost App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tracking frontmost App


  • Subject: Re: Tracking frontmost App
  • From: Matt Neuburg <email@hidden>
  • Date: Sat, 14 Oct 2006 11:37:45 -0700
  • Thread-topic: Tracking frontmost App

On Fri, 13 Oct 2006 19:30:08 +0200, Tommy Nordgren
<email@hidden> said:
>Are there any (Preferably Cocoa) api that allows an application to be
>notified whenever
>the frontmost App changes

I do it with Carbon Events. Works great (download my MothersHelper app if
you'd like to see this in action - in fact, keeping track of what app is
frontmost is basically *all* it does!).

m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
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: Tracking frontmost App
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Re: How to load data from NSDictionary to NSTableView?
  • Next by Date: Localising Preference Panes
  • Previous by thread: Re: Tracking frontmost App
  • Next by thread: Re: Tracking frontmost App
  • Index(es):
    • Date
    • Thread