Windows 10 menu accessibility?

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

Ernest Savage

  • Posts: 155
  • Joined: Thu Nov 21, 2013 11:30 pm

Windows 10 menu accessibility?

PostMon Feb 01, 2021 7:15 am

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.
Windows 10, Latest DR, GB TRX40, AMD 3970X, 2xRTX Titan, 128 Gb RAM, PCIe 4.0 SSD (boot), PCIe 4.0 SSD Raid 0 (cache) 14Gb/s, BM 4K, Raid 5 3.3Gb/s (storage). Mac 2019, OWC raid 0 (cache) 6GB/s, AMD MPX Pro Vega II, 256 GB RAM, 1Gb/s storage.
Offline

quickreactor

  • Posts: 20
  • Joined: Wed Nov 21, 2018 5:42 am
  • Real Name: Barnaby Fredric

Re: Windows 10 menu accessibility?

PostWed Feb 03, 2021 2:19 am

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.
Offline

codedeltajames

  • Posts: 332
  • Joined: Mon Mar 02, 2020 11:30 am
  • Location: UK
  • Real Name: James Goodwin

Re: Windows 10 menu accessibility?

PostWed Feb 03, 2021 1:51 pm

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.
Offline

Ernest Savage

  • Posts: 155
  • Joined: Thu Nov 21, 2013 11:30 pm

Re: Windows 10 menu accessibility?

PostThu Feb 04, 2021 1:01 am

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.
Windows 10, Latest DR, GB TRX40, AMD 3970X, 2xRTX Titan, 128 Gb RAM, PCIe 4.0 SSD (boot), PCIe 4.0 SSD Raid 0 (cache) 14Gb/s, BM 4K, Raid 5 3.3Gb/s (storage). Mac 2019, OWC raid 0 (cache) 6GB/s, AMD MPX Pro Vega II, 256 GB RAM, 1Gb/s storage.

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], Fully_Loaded34, Mads Johansen, qsipher, Robert John and 261 guests