Page 1 of 1

Windows 10 menu accessibility?

PostPosted: Mon Feb 01, 2021 7:15 am
by Ernest Savage
Hello,

Is there anyway to programmatically access a pull down menu item in Resolve on Windows 10?

I can do it on Mac with Keyboard Maestro and the accessibility framework:

https://wiki.keyboardmaestro.com/action ... _Menu_Item

I cannot get this same function to work in AHK. Even though it has multiple ways to select menu items. I can also see the menu I want to activate with the "spy" tool in AHK, I can see it with Accessibility Inspector, but Resolve won't seem to grant access to AHK.

Here are all of my attempts:

https://www.autohotkey.com/boards/viewt ... ve#p375616

Resolve is written in the cross-platform qt.io, and many other programs that run on Windows 10 allow you to access menus. So I don't understand.

Re: Windows 10 menu accessibility?

PostPosted: Wed Feb 03, 2021 2:19 am
by quickreactor
Hi Ernest.

I have also used both KM and AHK. Can I just ask what you mean when you say "many other programs that run on Windows 10 allow you to access menus"?

Do you mean you can programmatically access the menu items directly using AHK? If so, how?

As far as I'm aware, the only ways to to do this on windows is with a mouse click coordinate method, or using alt and letters to get to the right option.

I'm interested in getting this functionality too.

Re: Windows 10 menu accessibility?

PostPosted: Wed Feb 03, 2021 1:51 pm
by codedeltajames
quickreactor wrote:Hi Ernest.

I have also used both KM and AHK. Can I just ask what you mean when you say "many other programs that run on Windows 10 allow you to access menus"?

Do you mean you can programmatically access the menu items directly using AHK? If so, how?

As far as I'm aware, the only ways to to do this on windows is with a mouse click coordinate method, or using alt and letters to get to the right option.

I'm interested in getting this functionality too.


You can't use [Alt] + letters / arrow keys to navigate the menus in Resolve as they've rolled their own rather than using OS provided or compatible ones. Effectively to the rest of the system, they're just a picture of something that looks like a menu rather than an actual menu.

How not supporting keyboard navigation of menus using the standard methods on a target OS ever got past UAT is another matter entirely. I suppose what they gained by using Qt for cross platform UI tools they've lost in actually making something that works properly on each OS.

Re: Windows 10 menu accessibility?

PostPosted: Thu Feb 04, 2021 1:01 am
by Ernest Savage
quickreactor wrote:Hi Ernest.

I have also used both KM and AHK. Can I just ask what you mean when you say "many other programs that run on Windows 10 allow you to access menus"?

Do you mean you can programmatically access the menu items directly using AHK? If so, how?


"many" might be an exaggeration. I'm finding as codedeltajames points out "many" windows programs seem to using this picture system instead of an actual menu. Even aspects of Windows 10 itself uses this.

Here is the documentation from AHK for menu selection (it won't work for Resolve that I know of):

https://www.autohotkey.com/docs/commands/WinMenuSelectItem.htm

"Automation Joe" has this tutorial:



I asked him, and he says he can't access Resolve's menus.

Let me know if you find something that works.

Ya I thought about the disabled community as well. If Resolve was only for grading maybe, but if you can mix audio, seems like accessibility framework should be required.