Live data from Hacker News

Windows Desktop Application Automation Using AutoIt

blog.teemya.com

21–26 of 26 posts

Re: Windows Desktop Application Automation Using AutoIt

#21
post #10
post #7

I've been using AutoHotkey as well as AutoIt in the past. If I need keyboard macro, I use AHK. But if I need automation that interacts with other apps, I use AutoIt. It's fairly easy to get started writing scripts, but I've never liked the language/syntax of either AHK or AutoIt. One thing I wish I could do this is to write everything in Python, Lua, etc...

Work on modernizing AutoHotkey's syntax has been ongoing for years, and the v2 alpha makes huge (backwards-incompatible) steps to make the syntax simpler and more consistent. https://autohotkey.com/v2/v2-changes.htm

I wish NSIS would do this too.

Re: Windows Desktop Application Automation Using AutoIt

#23

Does anyone know how this compares to Sikuli(x)?

I used Sikuli couple of years ago, that time, it was not able to work if computer is locked (I used image hooks). However I am satisfied enough with AutoIt that, I might not look at other tools in couple of next few years, it has helpful community at forums and stackoverflow.

Re: Windows Desktop Application Automation Using AutoIt

#25
post #17

Earlier quoted context omitted.

You can use AutoIt's Python wrapper, its somewhat reliable and I use it in automation in production.

This? https://pypi.org/project/PyAutoIt/ Curious if you have tried the other method (I have not): https://stackoverflow.com/a/9371563

No, I've used just first method and it was working fine. Btw second one seems more easier to transfer pure AutoIt code to Python due to same function names.
Post reply on HN