Workaround for DoDefaultAction on a hidden/unavailable menu item

Get help with using AutoHotkey and its commands and hotkeys
Bodhi
Posts: 6
Joined: 04 Oct 2020, 16:59

Workaround for DoDefaultAction on a hidden/unavailable menu item

Post by Bodhi » 27 Oct 2020, 19:06

Is there a way to press (the default action of) a menu item while it's state is invisible and unavailable (0x8081)? It works as expected via ACC DoDefaultAction when it's visible, but I'd like to keep the menu hidden from the user if possible. The menu is non standard (Qt), so none of the regular methods of menu interaction work.

Within the app there's another menu that works with DoDefaultAction while invisible and whose state never becomes unavailable. So I think it's the unavailable part that is the problem. AFAICT there's no way to change that.

Any help is appreciated!

Return to “Ask For Help”