Jump to content

Recommended Posts

Posted

Hello!

I have made an au3 script and I want it to trigger in C#. In C# I use AutoITX to run programs. Look at the following code what I have done. 

AutoItX.Run(@"C:\TicketScripts\createTicket.au3", "");

When I run my C# code it won't trigger my script, how can I fix this?

Thanks!

Posted

I fixed it by using the following code: 

AutoItX.Run(@"C:\Program Files (x86)\AutoIt3\AutoIt3.exe /AutoIt3ExecuteScript setCompany.au3",@"C:\TicketScripts\", 1);

 

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...