kannank Posted January 17, 2012 Share Posted January 17, 2012 Hello, I've been trying to a automate a custom developed C# application using the class info using "AutoIt V3 window information" and spy++ tools. "MouseClick()" works fine although i am looking for object (com) based control. I've been able to send click events to command button and textboxes ControlClick("sapp", "", $buttonclass) in the C# application i am unable to talk to "menuStrip"WindowsForms10.Window.8.app.0.378734a and tabs WindowsForms10.SysTabControl32.app.0.378734a . However similar code works for windows calculator and AutoIt generated tabs(_GUICtrlTab_ClickTab.au3) For starters i dont mind working with hardcoded classIDs... I have gone through many forum posts and they tend to say that only "standard windows controls" work well. Has anyone had any luck in controlling objects (file menu, tabs, sliders, comboboxes, checkboxes, picturebox) created using .net3.5 VS2008 C#? thanks kannan Link to comment Share on other sites More sharing options...
kannank Posted January 26, 2012 Author Share Posted January 26, 2012 *bump* will this even be possible ? or are there any other approaches to object based control? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now