Jump to content

accessing menu in foreign window


Recommended Posts


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
Link to comment
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...