anystupidassname Posted February 15, 2008 Posted February 15, 2008 Help! I need to click an option in a menu that changes, and although the option is always named the same it is in a different position too. To make matters worse, the underlined letter (to indicate ALT+what) is either not unique or different. I've read about WinGetText and ControlGetText but neither will work in this case. Am I missing a possibility? Any assistance would be much appreciated! This signature is computer generated, nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#.......
GaryFrost Posted February 15, 2008 Posted February 15, 2008 Try WinMenuSelectItem SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
anystupidassname Posted February 15, 2008 Author Posted February 15, 2008 Try WinMenuSelectItemThanks, nice try but the stupid underlined character/hotkey/& is in different places. Arg! Unless it was modified to support regex or even partial matchs it isn't going to work. This signature is computer generated, nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#.......
GaryFrost Posted February 15, 2008 Posted February 15, 2008 Thanks, nice try but the stupid underlined character/hotkey/& is in different places. Arg! Unless it was modified to support regex or even partial matchs it isn't going to work.Then maybe _GUICtrlMenu_FindItem SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
anystupidassname Posted February 15, 2008 Author Posted February 15, 2008 Then maybe _GUICtrlMenu_FindItemThanks man. I think I'm getting WinMenuSelectItem to work for me actually! Just more error checking involved than I wanted.I'll look at menufinditem but it looks like it will explode my noob head.Have a good weekend. This signature is computer generated, nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#.......
anystupidassname Posted February 19, 2008 Author Posted February 19, 2008 OK, I'm still stuck...http://www.autoitscript.com/forum/index.php?showtopic=64608 This signature is computer generated, nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#.......
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