Jump to content
Sign in to follow this  
spyro

Alt functionality in C# .net app problem

Recommended Posts

I tried both ways.

The WinMenuSelectItem() did not work. I also found this in the docs which probably applies to me.

"WinMenuSelectItem will only work on standard menus. Unfortunately, many menus in use today are actually custom written or toolbars "pretending" to be menus. This is true for most Microsoft applications".

I also tried to use sleep like you suggested. I have two menu items. One is &File and the other is &Tools. If I do Send("!T") it opens &File for some reason. It opens the right menu if it is executed manually and not scripted.

Share this post


Link to post
Share on other sites

The ClassnameNN reads WindowsForms10.STATIC.app.0.21af1a51

So I tried

ControlSend("WindowsName","","WindowsForms10.STATIC.app.0.21af1a51","!T")

This opened $File instead of $Tools.

In the Window tool it also says

>>>>Visible Window Text<<<<

toolStripContainer1

explorerBar1

Not sure if this can also be used.

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  

×
×
  • Create New...