Jump to content
Sign in to follow this  

Autoit API question for c#/vb.net

Recommended Posts


Is it possible to manage an existing autoit compiled program using c#/vb.net by calling the program's functions?


example, program A was compiled in autoit and I want to include program A into another program B that will be coded in c#/vb.net and use program B to manage program A such as control whether or not program A activates or when it closes.

Share this post

Link to post
Share on other sites

You can certainly use C# to launch a compiled AutoIt script with parameters. Something like this:

ProcessStartInfo startInfo = new ProcessStartInfo();        
startInfo.FileName = @"<Path to executable>";
startInfo.Arguments = @"<param 1> <param 2>";

Take a look at the Command Line Parameters section in the help file for how to write the AutoIt script.

√-1 2^3 ∑ π, and it was delicious!

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.