Vandana Posted February 20, 2009 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.
ukmazy Posted February 20, 2009 Posted February 20, 2009 take a look on the help file in _GUICtrlMenu_GetItemData or all functions under _GUICtrlMenu
Wenxu Posted January 21, 2024 Posted January 21, 2024 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.
Developers Jos Posted January 22, 2024 Developers Posted January 22, 2024 @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.
Recommended Posts