Vandana Posted February 20, 2009 Share Posted February 20, 2009 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 More sharing options...
ukmazy Posted February 20, 2009 Share Posted February 20, 2009 take a look on the help file in _GUICtrlMenu_GetItemData or all functions under _GUICtrlMenu Link to comment Share on other sites More sharing options...
Wenxu Posted January 21 Share Posted January 21 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 More sharing options...
Developers Jos Posted January 22 Developers Share Posted January 22 @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 More sharing options...
Recommended Posts