Re: Hidden Cocoa apps have empty kAXWindowsAttribute
Re: Hidden Cocoa apps have empty kAXWindowsAttribute
- Subject: Re: Hidden Cocoa apps have empty kAXWindowsAttribute
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 11 Mar 2003 21:01:13 -0500
on 03-03-11 6:26 PM, Matthew Formica at email@hidden wrote:
>
Do you guys need full access to the windows, even when they are hidden, or
>
would it be sufficient to be able to get their titles, type, and basically
>
just identify how many windows an app has? If it's the latter, it has a
>
chance of being done by Apple, but it also seems to me like you could simply
>
keep track yourself of the open windows, and when the app is hidden, assume
>
the open windows are the same. Then if the user wants to bring one of those
>
windows to the front, unhide the app, re-query it to get the windows again
>
(and match things up again, which shouldn't be too hard), and bring the
>
relevant window to the front.
This is a very interesting suggestion.
My experience with the accessibility API so far is that there are many
situations where the developer could take the existing API a little farther.
The problem for me at this point is in knowing how far the accessibility API
will go, and where I as a developer have to pick it up.
That's always the case with new API, and it will all settle itself out over
time. So Apple's job is to figure out where the boundary should be. The
boundary between what a developer can reasonably do, and what Apple has to
do to give developers enough to work with.
I've been able to work around most of the limitations I've found in the
accessibility API. The ones that give me the most trouble are those where I
have to force the GUI to do something odd before the accessibility API can
help me. Like forcing a menu to open so I can find out whether it has a mark
character.
As long as I know what's available to me, and it's enough to let me go the
rest of the way, I can work with it.
--
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.