Jump to content

WinMenuGet...


 Share

Recommended Posts

Hi,

I'm trying to find a way to read the text of menus and submenus from an application (virtualdub)

In capture mode, this application displays the list of video and audio devices in its menus and I'd like to get that list so I can choose after which one to select. The problem is that this list changes from a computer to another and when you add/remove devices and I can't make a script that will work only on my computer.

It's standard menus because I can select items with the WinMenuSelectItem command, including the devices

see the attached pic for example

So far, I haven't found any way to resd text from menus

I can't even get a classname for the menu control as the AutoIT Window Info doesn't display anything when I place my mouse over the menu or sub items

It would be nice to have a function that can get the whole menu tree of an application

There's probably a solution by using the DLLCall funtion or even get the list of devices by another way maybe via the new COM functions so I'll have to look into that but in the mean time, if anybody has some advices, that would be great !

Thanks

post-16569-1160082430_thumb.jpg

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
 Share

  • Recently Browsing   0 members

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