Sign in to follow this  
Followers 0
ganeshk225

Unable to select a menu item on a window

5 posts in this topic

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!!

Share this post


Link to post
Share on other sites



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?

Share this post


Link to post
Share on other sites

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 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

#4 ·  Posted (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 following

1) _GUICtrlMenu_FindItem

2) WinMenuSelectItem

and 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 by ganeshk225

Share this post


Link to post
Share on other sites

Can anyone kindly help with this? Please let me know if more details are required.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0