Skip navigation.
 
mlRe: Querying the front application
FROM : Uli Kusterer
DATE : Sun Jul 09 17:01:49 2006

Am 09.07.2006 um 10:05 schrieb Rosyna:
> Call GetFrontProcess() to get the front process and install a 
> carbon event handler for kEventClassApplication/
> kEventAppFrontSwitched.


Instead of GetFrontProcess(), you could also just do:

[[NSWorkspace sharedWorkspace] activeApplication]

Which gives you a dictionary with lots of nice info.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de

Related mailsAuthorDate
mlQuerying the front application Alexander Powell Jul 9, 09:58
mlRe: Querying the front application Rosyna Jul 9, 10:05
mlRe: Querying the front application Alexander Powell Jul 9, 10:13
mlRe: Querying the front application wadeslists Jul 9, 10:15
mlRe: Querying the front application Rosyna Jul 9, 10:20
mlRe: Querying the front application Uli Kusterer Jul 9, 17:01