dmishoe Posted December 1, 2010 Posted December 1, 2010 I have a c# program that invokes the autoit dll as shown below. I the controlclick command works, but I can not seem to get the controlsettext to work. I know it must be something simple that I'm not doing. I figured since the controlclick worked, it would be a simple matter to get the controlsettext to work. static AutoItX3Lib.AutoItX3Class au3; ...... au3 = new AutoItX3Lib.AutoItX3Class(); ... au3.ControlSetText("Inter Branch Transfer Entry - Infor ERP VE", "", "EDIT1", "MY NEW TEXT"); au3.ControlClick("Inter Branch Transfer Entry - Infor ERP VE", "", "Button7", "Left", 1, 0, 0); any an all help would be greatly appreciated. Thanks David
dmishoe Posted December 9, 2010 Author Posted December 9, 2010 found it, by using au3.ControlSend("handle=" + hWnd, "", "Edit1", "test1234", 0); send the control the text
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