Re: Watching for new windows
Re: Watching for new windows
- Subject: Re: Watching for new windows
- From: Mike Engber <email@hidden>
- Date: Thu, 20 Nov 2003 14:42:55 -0800
I'll try what you suggested, although it's not immediately obvious
which call would return the window list. When I receive a carbon event
that the frontmost app changed (kEventAppFrontSwitched), I tried
simply asking for the window title since I already know the frontmost
application's AXUIElementRef, but all I get back is the name of the
application:
The kAXWindowsAttribute returns the list of windows.
However, the kAXMainWindowAttribute probably returns _the_ window you
want, so you might want to use it.
There's also the kAXFocusedWindowAttribute.
The truth is out there ...
-ME
_______________________________________________
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.