Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm trying to automate an application. I can send text to a text control and send enter key after wrote my text.
Now I want to access menu bar and sub menu such as select file/open and select file to open.
How I do it?
Notice: I'm using Spy++ to get class name and other properties of controls, but menu bar do not have any class name.
Posted
Comments
ZurdoDev 4-Feb-15 8:01am    
If you are using SendKeys you could always use Alt to activate the menu.
Mohammad reza beizavi 4-Feb-15 16:51pm    
OK, That's work very nice. Thank you RyanDev

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900