Re: What happened to AXKey?
Re: What happened to AXKey?
- Subject: Re: What happened to AXKey?
- From: James Dempsey <email@hidden>
- Date: Sat, 3 Mar 2007 16:01:03 -0800
I cannot reproduce the behavior you describe using your "UI Browser" or Apple's "Accessibility Inspector" applications (under OS X 10.4.8). AXFocused is *always* set to "false" for all of Finder's windows (and in any other application I have tried), and cannot be set to true. Checking the checkbox next to AXFocused in "UI Browser" does nothing -- the value remains false.
For purpose of comparison, the AXMain attribute works fine for the same windows -- the frontmost window of Finder always has AXMain set to true, and setting AXMain to true for a back Finder window brings it to the front.
The AXApplication has two attributes:
AXFocusedUIElement which will give you the UI Element that currently has the focus. This is the element that should return 'true' for its AXFocused attribute (this is usually a text field or some such element, it seldom the window itself).
AXFocusedWindow which will return the focused window (the window that contains the focused UI element).
-James
-------------------------------------------------- James Dempsey AppKit Engineering Apple
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden