Jump to content

Recommended Posts

Posted

Hi,

 

I am trying to call my AutoIt script (.exe) file from my c# code. I have added the  AutoItX3Lib in my Visual Studio but I don't know the command to call the exe file in c#.

How can I do this?

  • Developers
Posted (edited)

Where do you see a relation with running a selfcontained compiled AutoIt3 script and the use of "AutoItX3Lib in my Visual Studio"?

Jos

 

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

  • Developers
Posted

I guess I simply do not understand what you are asking!
You have an compiled script ...right?
You want to shell that program in c# ...right?

So what exactly are you trying to do to accomplish that  in C#?

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

I got it working . I just had to use the following :

AutoItX3Lib.AutoItX3 autoit = new AutoItX3Lib.AutoItX3();
            autoit.Run("exe");

 

Thanks for your help

 

 

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
  • Recently Browsing   0 members

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