ganeshk225 Posted June 25, 2012 Share Posted June 25, 2012 Hi, I'm a newbie to AutoIt. I'm unable to select a menu item of a window. The menu item I'm attempting to select/click neither has a hotkey or keyboard shortcut. Hence I'm can't use 'WinMenuSelectItem' and 'Send'. Are any other ways to select the menu item via AutoIt? Any help is greatly appreciated. Thanks!! Link to comment Share on other sites More sharing options...
ganeshk225 Posted June 25, 2012 Author Share Posted June 25, 2012 I donot want to use mouse click option as the co-ordinates are bound to change when running the script on a PC with different resolution. Any other way to get this working? Link to comment Share on other sites More sharing options...
water Posted June 25, 2012 Share Posted June 25, 2012 Can you give us an example of which program you want to automate and what's the menu/submenu/item you want to select? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
ganeshk225 Posted June 28, 2012 Author Share Posted June 28, 2012 (edited) Sorry I couldn't reply sooner.The application I'm trying to automate is a tool used for analysis of log files from the modem.After getting some insight of the tool, I have figured out that the tool uses DotNetBar controls. I did some searching in this forum and I remember reading in a post that autoit only works on standard menu and not on any other custom controls, let alone dotnetbar controls.I guess that is the reason I'm unable to select the menu items, as I could get autoit to work just fine with notepad menu bar :-)I tried the following1) _GUICtrlMenu_FindItem2) WinMenuSelectItemand looks like both don't function with DotNetBar controls.Can you please let me know if there is any other workaround to get this working. Edited June 28, 2012 by ganeshk225 Link to comment Share on other sites More sharing options...
ganeshk225 Posted July 2, 2012 Author Share Posted July 2, 2012 Can anyone kindly help with this? Please let me know if more details are required. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now