Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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

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
  • Recently Browsing   0 members

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