kheops Posted October 5, 2006 Share Posted October 5, 2006 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 Link to comment Share on other sites More sharing options...
this-is-me Posted October 6, 2006 Share Posted October 6, 2006 http://www.autoitscript.com/forum/index.php?showtopic=6577 Who else would I be? 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