Thanks much for that info. I did find that Alt Menu Search script very cool. I found the command used to declare if window has a "true menu":hunter99 wrote: ↑17 Jan 2019, 15:39Use this to confirm, you can get it here. Read all the posts there.Yeah I'm wondering if that is the case with this particular program... Is there any way to test to confirm if it is not a true MS menu?
“Alt Menu Search.ahk” by lexikos. From here - http://ahkscript.org/boards/viewtopic.php?f=6&t=8085
If you find it's not a true menu, you could try creating keyboard macros and using SendInput.
Window must be active to work, so this may be of no use to you. But you could write a small ahk file to activate the window and unmute and run using the Run command.
Shortcut keys: fastest – not always easily found.
Access keys or Keytips: slower, may flash menu or dialog box – easily found by hitting Alt key, showing underlined letters or charters in square box.
Example is for windows Paint, it change brush color. Using ctrl + j for key.
^j::SendInput !h1!hec!r55!g255!u0{enter}
!h1 picks the foreground color. !hec opens the color dialog box. !r55 sets the Red value. !g255 sets the Green value. !u0 sets the Blue value. Finally we use {Enter} to effect the change and close the color window.
I used Alt with the underlined letters r, g, and u.
Could used Tabs like this !h1!hec{Tab 7}55{Tab}255{Tab}0{enter} but not as readable.It’s a small app to run and test small snippets of code rather than use a full blown editor. I find it makes for much faster testing. As you can make changes to the code and just hit the run bar. Just paste the example for windows Paint shown above, to try it.I'm unfamiliar with this, how would this help my situation?
I think you will come up with something that will make you happy.
hunter99
Code: Select all
WinHasMenu(WinTitle:="") {
return !!DllCall("GetMenu", "ptr", WinExist(WinTitle), "ptr")
}
#If WinHasMenu("A") || WinActive("Searching menus of: ahk_class AutoHotkeyGUI")