Jump to content

Recommended Posts

Posted

Hi all,

I need to click on a menu that is added during application runtime. Since its a runtime menu it doesn't have a underlining(when ALT is pressed).

So is there a way to click on the menu during runtime?

Posted

Hi Zedna,

To use WinMenuSelectItem(), we need underlined menu items that contain a '&' character to indicate the underlining.

For ex. WinMenuSelectItem("[CLASS:Notepad] ", "", "&File", "Page Set&up..." )

But in my scenario there is no underlining of the menu as its added during runtime.

Posted

I tried the following on notepad, still no luck ;)

WinMenuSelectItem("[CLASS:Notepad] ", "", "File", "Page Setup..." )

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