Re: Watching for new windows
Re: Watching for new windows
- Subject: Re: Watching for new windows
- From: Bill Cheeseman <email@hidden>
- Date: Thu, 20 Nov 2003 17:17:39 -0500
on 2003-11-20 4:38 PM, Mike Engber at email@hidden wrote:
>
When you get the notification that the frontmost app has changed, you
>
can ask the app for its window list and determine what's in front from
>
there.
>
>
The reason cocoa doesn't send a main window changed notification is
>
because the main window of an app didn't change. I.e. if you'd asked
>
the app for its main window before and after the app was frontmost
>
you'd have gotten the same answer both times.
Ah, I was on a different page.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.