Jump to content

entering commands via dll


dmishoe
 Share

Recommended Posts

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.

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...