Jump to content

Recommended Posts

Posted

I am trying to automate a windows application, where I need to check the state of the menu options. For instance, consider the notepad application. I want my script to get all the options available under the "File" menu. Also in addition, I would also like to check the state of each of the links under "File" option.

Thanks in advance.

  • 14 years later...
Posted

1. use  GUICtrlMenu_GetMenu to get the main menus such as File, About among others

2. use _GUICtrlMenu_GetItemSubMenu to get all the submenus under each menu.

Then you can check the states.

  • Jos locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...