Sign in to follow this  
Followers 0
trung0407

Need help with converting functions to C#

3 posts in this topic

There are some quite useful functions in autoit but I don't know how to translate it into C#. And I need to do works in C#.

- ControlSend()

- ControlClick()

Could I have some help? ;)

Share this post


Link to post
Share on other sites



Even though I do C# programming, automating GUI's in it is not my field of expertise. You might find some helpful insight here though.

Eventually, if it doesn't bother you to use a DLL, you could use AutoItX which contains a lot of AutoIt methods ;)

It is included in your AutoIt install: C:\Program Files\AutoIt3\AutoItX

Share this post


Link to post
Share on other sites

I know the method using AutoitX. But I just want to know a pure C# method to do it. Since autoit is compiled in C, I think, it needs to dll call a certain functions from windows library to make the ControlSend function.

I searched everywhere on the internet but got no answer yet. I was told to use SendMessage, but since the MSDN docs doesn't give any example, I don't know how to use it and I can't test it.

If there is a documentation of how Autoit functions are made, it would be great.

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  
Followers 0