Hi,
How can I be notified when the foreground application changes? I
found "activeApplication" in NSWorkspace. Is there a way to observe
changes to that property? I tried the following, which doesn't seem
to work...
[[NSWorkspace sharedWorkspace] addObserver:obs
forKeyPath:@"activeApplication" options: 0 context:NULL];
// where obs implements...
- (void)observeValueForKeyPath:ofObject:change:context:
thanks,
Rob
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]