Jump to content
Sign in to follow this  
pammi

Find a Menu with no underlining

Recommended Posts

pammi

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?

Share this post


Link to post
Share on other sites
pammi

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.

Share this post


Link to post
Share on other sites
Zedna

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

Not true.

Share this post


Link to post
Share on other sites
pammi

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

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

Share this post


Link to post
Share on other sites
pammi

No luck again..dint work in windows XP.

is there any other way??

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  

×