BeakerMcChemist Posted October 12, 2015 Share Posted October 12, 2015 I need to select a menu item using WinMenuSelectItem, but the menu item name changes depending on the name of the file open. However it always has the word "Movie" near the beginning. I tried to set WinTitleMatchMode =2, but as far as I can tell that only works on the Window Title, not menu items.This code works:WinMenuSelectItem($sProgName,"", "&Window", "&2 Movie water drops.mdb 8/25/2015 10:05:27 AM by CA System")But I would like to be able to use something like this and have the program pick the menu item that has the word "Movie" in it.WinMenuSelectItem($sProgName,"", "&Window", "Movie") I know WinMenuSelectItem works because I use it elsewhere in the program. 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