I also think (though I didn’t confirm) that it would only work smoothly with LinqPad 6 version as this version allows you to include files in the output without a lot of plumbing code to get the native assemblies to copy to the output folder. LinqPad 6 – I prefer (as mentioned in previous posts) to use LinqPad as a scratch pad, to prototype functionalities in it.Demo: Automating cookie clickerįor this demo we will be using the following: Since AutoItX comes as nuget package, adding it to your project is easy enough, just search for it and add it, but there’s a catch because it’s using the native dll, we also need to have either the AutoItX3.dll (for 32-bit applications) or the AutoItX3_圆4.dll (for the 64-bit applications) present in our output folder so keep that in mind because it will come up in the demo we’re about to do. But if you want to use features not available in C# but still want to use C#, an idea would be to write the script in AutoIt, compile it, and then just launch it from C# Of course, the drawback from this is the maintenance cost of debugging.
Something to point out is that even though it’s a wrapper over the engine, the wrapper does not feature the full functionalities that the native AutoIt has like setting up hotkeys and such, but this is something we will look at in the future. At the time of this writing, the latest version is 3.3.14.5 released on the 24th of January 2019 and has a total download number of 396,649 which from my perspective it means it is somewhat battle-proven to be stable. Net assembly and the native AutoIt dll inside. Now that we got the AutoIt side of things cleared at a very rudimentary level, AutoItX is a C# wrapper over the AutoIt engine that comes as a nuget package with a. Ok, I know what AutoIt is, what’s AutoItX? One thing I want to mention is that when I was working as a game tester, there was a very smart guy who automated out deployment system using AutoIt, so you can be amazed at what can be achieved with proper automation in the workplace.Īlso if you need help with just AutoIt, they have a good forum for problem-solving issues, and of course the StackOverflow community. I will no go into the details as it’s too much to cover and the wiki seems to be quite comprehensive, just know that it is the basis of what we are going to talk about. What is AutoItX?īefore we can talk about AutoItX first we need to talk a little bit about AutoIt.ĪutoIt as we see from the description on their page and their wiki is a scripting tool for desktop automation. In this post, we are going to talk about how we can automate part of the windows desktop environment using AutoItX.