Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get menu state
#4
These menu bars with 4 dots are not standard menus. Although their submenus are. But QM need a standard menubar to find the id in its submenus.
Try accessible objects.

Macro Macro272
Code:
Copy      Help
int w=win("New Message" "ATH_Note")
act w
key Av
int w2=wait(5 WV "+#32768") ;;submenu
Acc a.Find(w2 "MENUITEM" "Status Bar" "" 0x1001 2)
int checked=a.State&STATE_SYSTEM_CHECKED!=0
key ZZ
out checked


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)