Sign in to follow this  
Followers 0
mireazma

accessing menu in foreign window

3 posts in this topic

#1 ·  Posted (edited)

Hello.

Kind of noobish question:

Could you please tell me how to access the main menu of a regular window? The window is not of a Au3 GUI, it's "foreign". I looked at different programs (with AutoIt Window Info tool) and there were all kinds of control classes and names,like for the toolbar, tabs, buttons etc. except for the main menu. In some programs it hasn't a classname or it's the same with the window's. To make things even harder, the items in the main menu (words) don't show up anywhere in the window info, as text.

So, I assumed that the main menu isn't a control. I'd like to execute a command at a level within the main menu. Some programs don't have the "alt+" feature implemented for controls. Am I forced to use the mouse coords or is there a way to specify the exact submenu item of a certain submenu... of the main menu?

edited: added "with AutoIt Info tool" at the beginning

Edited by mireazma

Share this post


Link to post
Share on other sites



Did you try the AutoIT Window Info tool?

Share this post


Link to post
Share on other sites

Did you try the AutoIT Window Info tool?

Yes. That's what I was referring to. How do you personally work with main menus? Or do you use alternatives?

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