Jump to content

How do I get the list of menu options available


Vandana
 Share

Recommended Posts

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.

Link to comment
Share on other sites

  • 14 years later...

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.

Link to comment
Share on other sites

  • Developers

@Wenxu,

There is no need to reply to an 14 years old thread in an effort to answer the original question!

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Jos locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...