Re: How to move focus to the Dock using the Accessibility API?
Re: How to move focus to the Dock using the Accessibility API?
- Subject: Re: How to move focus to the Dock using the Accessibility API?
- From: John Louch <email@hidden>
- Date: Sun, 05 Oct 2003 08:23:35 -0700
>
Hi,
>
>
As part of an assistive application I need to programmatically focus
>
the Dock so that I can tab through it. I know full-keyboard access
>
allows focussing of the Dock, but for various reasons I cannot rely
>
on that and need to get the Dock focussed progammatically. Is there a
>
way, once I have the Dock's process ID and/or AXUIElementRef to make
>
the Dock obtain keyboard focus?
There is no way to do this. You cannot rely on the keyboard system keyboard
navigation because the keys can change, get turned off, etc.
>
Hi,
>
>
I would like to know whether it is somehow possible to use the
>
Accessibility API to highlight something, such as a menu item or a
>
button in the Dock without actually pressing or picking it (which
>
obviously will do more than just highlighting)?
The dock does not support accessorizing its menus.
>
You are absolutely right. One of the funny things about the dock is
>
that is does not have windows, only buttons, while of course for a
>
user it looks like buttons in a window. I have also tried making the
>
dock's process the front but that did not seem to do the trick either.
Never try to set a background process to the front. It can break that
process.
The real question is why do you need to tab through the Dock. You can of
course get the children of the Dock, and then "pretend" to tab through it in
your UI. The only action you can do with the dock is press on the item, so
you are still pretty limited.
Thanks,
jl
>
>
Thanks,
>
>
david.
>
_______________________________________________
>
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.
--------------------------------------------------
John Louch Internet #: email@hidden
(805) 546 0216
_______________________________________________
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.