Re: window number accessible through accessibility system
Re: window number accessible through accessibility system
- Subject: Re: window number accessible through accessibility system
- From: John Louch <email@hidden>
- Date: Mon, 01 May 2006 16:10:01 -0700
- Thread-topic: window number accessible through accessibility system
Ahh ok. There is no way to do what you are requesting. Going from window id
to AXUIElementRef. Since the NSWindowList is a public API, we would
consider adding something like:
AXUIElementCreateFromWindowID (); // or something equivalent
Please write a bug.
Thanks,
jl
> The AppKit function NSWindowList will give a list of window numbers in
> an front-to-back order. This is the only way to globally distinguish
> window depths in a legal (i.e. not through private API) fashion. I'd
> like to use this info to augment the accessibility I am offering but
> the accessibility API doesn't seem to offer such information.
>
> Programmatically, two windows with the same dimensions and location
> will appear identical through the accessibility API. This is not
> sufficient for my needs.
>
> Thanks for any help you can offer!
>
> On 5/1/06, John Louch <email@hidden> wrote:
>>> I would like to create an AXUIElementRef for a window, but all I have
>>> is its window number and owning application. I don't see anything
>>> that looks like it can expose this through the accessibility API.
>>> Does anyone know if this is possible?
>>>
>>> More generally, I'm trying to turn a window into the main/key window
>>> for an application (which is possible through the API), but the only
>>> information I have about the window is its number.
>>> _______________________________________________
>>> 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
>>
>>
>> How did you get the window number in the first place?
>>
>> Thanks,
>> jl
>> --------------------------------------------------
>> John Louch Internet #: email@hidden
>>
>>
>>
--------------------------------------------------
John Louch Internet #: email@hidden
_______________________________________________
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