Live data from Hacker News

Windows Desktop Application Automation Using AutoIt

blog.teemya.com

1–10 of 26 posts

Re: Windows Desktop Application Automation Using AutoIt

#2
We do a lot of UI automation for testing. I have played with AutoIt quite a but I found it pretty difficult to get scripts to run reliably on different machines. It's get for one offs though. It wouldn't hurt if you could use it as a library from C# code. Or is that possible? The built in language is not that great.

Re: Windows Desktop Application Automation Using AutoIt

#3
post #2

We do a lot of UI automation for testing. I have played with AutoIt quite a but I found it pretty difficult to get scripts to run reliably on different machines. It's get for one offs though. It wouldn't hurt if you could use it as a library from C# code. Or is that possible? The built in language is not that great.

Have a look at https://github.com/MerlijnWajer/Simba/. It uses uses a dialect of Object Pascal for scripting and some core functions are available in a library.

There are other projects which attempt to do similar things but I sincerely believe Simba is the best program for desktop automation to date.

I helped write it.

Re: Windows Desktop Application Automation Using AutoIt

#4
post #3
post #2

We do a lot of UI automation for testing. I have played with AutoIt quite a but I found it pretty difficult to get scripts to run reliably on different machines. It's get for one offs though. It wouldn't hurt if you could use it as a library from C# code. Or is that possible? The built in language is not that great.

Have a look at https://github.com/MerlijnWajer/Simba/ . It uses uses a dialect of Object Pascal for scripting and some core functions are available in a library. There are other projects which attempt to do similar things but I sincerely believe Simba is the best program for desktop automation to date. I helped write it.

Seems to have no usable documentation and the github repo has basically no activity in a long time

Re: Windows Desktop Application Automation Using AutoIt

#5
post #3

Earlier quoted context omitted.

Have a look at https://github.com/MerlijnWajer/Simba/ . It uses uses a dialect of Object Pascal for scripting and some core functions are available in a library. There are other projects which attempt to do similar things but I sincerely believe Simba is the best program for desktop automation to date. I helped write it.

Seems to have no usable documentation and the github repo has basically no activity in a long time

Don't confuse "lack of activity" with "broken." The program is considered complete. I recently moved everything to FPC 3.0, see https://github.com/MerlijnWajer/Simba/tree/fpc-3.0. The other work going on is language features for the scripting engine.

Most functionality is documented at http://docs.villavu.com/simba/.

Re: Windows Desktop Application Automation Using AutoIt

#6
post #5

Earlier quoted context omitted.

Seems to have no usable documentation and the github repo has basically no activity in a long time

Don't confuse "lack of activity" with "broken." The program is considered complete. I recently moved everything to FPC 3.0, see https://github.com/MerlijnWajer/Simba/tree/fpc-3.0 . The other work going on is language features for the scripting engine. Most functionality is documented at http://docs.villavu.com/simba/ .

I don't confuse these things. I just stated that there isn't much activity. But thanks to your answer I took a second look. My problem was that the first impression of the documentation site wasn't/isn't that good IMO. I skimmed the first (quite a few) pages of the documentation and didn't find anything that gave me a first impression what this program/language looks like. You know some kind of small (or not so small) sample code. Then I skipped to the "Tutorial" section which consists of empty pages. Discouraged by that I missed the much better "Scripting Reference" section. So I suggest to at least remove the empty Tutorial section until there is actual content and/or simply link to the examples in the repository

Re: Windows Desktop Application Automation Using AutoIt

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

Re: Windows Desktop Application Automation Using AutoIt

#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

Post reply on HN