Sign in to follow this  
Followers 0
cxzzD

AutoIT -> C#

7 posts in this topic

Hello forum.

I'd like to ask if there is a simple way of using my AutoIt code in C#.

So. Basically, I just want to add my AutoIt script into a C# project that I have allready started with.

The AutoIt script creates an file with code in it, and my C# program basically just opens .txt objects, reads them and then they tell you what the .txt file said.

I know I can do this whole function quite easy in either one of the languages, but I'd like to put the two languages together, as a learning experience, so in the future I can create bigger projects between the two languages.

Thanks in advance.

(No harsh nor any unpolite answers please.)

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

This means that c# should completly understand what each autoit function, keyword etc.. etc.. does before translating it into c# code

Why do you need to sit on 2 chairs with only 1 butt?

My advice is if you need Autoit for things it can do best use Autoit, otherwise save yourself from headache and use C#

I am still using c++ and qt for some advanced gui projects but currently i am enjoying more simple things autoit gui can do and making something that doesnt need c++.

Edited by marko29

Share this post


Link to post
Share on other sites

This means that c# should completly understand what each autoit function, keyword etc.. etc.. does before translating it into c# code

Why do you need to sit on 2 chairs with only 1 butt?

My advice is if you need Autoit for things it can do best use Autoit, otherwise save yourself from headache and use C#

So I wouldn't be able to use an AutoIt PixelSearch in C# either then I suppose?

Share this post


Link to post
Share on other sites

PixelSearch

... well that was a unexpected let down ...

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Share this post


Link to post
Share on other sites

If you know what you're doing, you can make a faster PixelSearch in C# than in AutoIt.

Share this post


Link to post
Share on other sites

If you know what you're doing, you can make a faster PixelSearch in C# than in AutoIt.

Too bad I don't then. :x

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