Sign in to follow this  
Followers 0
anystupidassname

clicking an option in a menu that keeps changing position

6 posts in this topic

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#.......

Share this post


Link to post
Share on other sites



Try WinMenuSelectItem

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.


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#.......

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites

Then maybe _GUICtrlMenu_FindItem

Thanks 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#.......

Share this post


Link to post
Share on other sites

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#.......

Share this post


Link to post
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
Sign in to follow this  
Followers 0