Live data from Hacker News

Windows Desktop Application Automation Using AutoIt

blog.teemya.com

11–20 of 26 posts

Re: Windows Desktop Application Automation Using AutoIt

#11
post #5

Earlier quoted context omitted.

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…

I'm not sure why you'd mention it otherwise.

We were considering moving the documentation to GitHub so people were more likely to contribute. There is a function viewer and many of the functions are documented in the source. The autogeneration was abandoned before it was set up because the program does what it was built to do.

Part of it is you need to have some idea what you want to do with the program before you start. Most of the tutorials exist on villavu.com's forums with the goal of automating gameplay.

Re: Windows Desktop Application Automation Using AutoIt

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

https://github.com/Microsoft/WinAppDriver ?

Re: Windows Desktop Application Automation Using AutoIt

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

AutoItX: https://www.autoitscript.com/forum/topic/177167-using-autoit...

Re: Windows Desktop Application Automation Using AutoIt

#14
post #12
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.

https://github.com/Microsoft/WinAppDriver ?

I have looked at that but it needs Win10 and doesn't do WPF. Right now we a mix between Ranorex, UI Automation and Selenium. They all have their strengths and often one library can support certain elements that others can't.

Re: Windows Desktop Application Automation Using AutoIt

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

Strangely enough, from reading the forums, it seems that AHK's syntax makes sense for non-programmers, while programmers seem to dislike it.

Re: Windows Desktop Application Automation Using AutoIt

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

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

Re: Windows Desktop Application Automation Using AutoIt

#19
post #17
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...

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

Re: Windows Desktop Application Automation Using AutoIt

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

http://www.sikuli.org/ is a crossplatform Python equivalent (and IDE with built-in UI capturing).

There's also https://github.com/go-vgo/robotgo for the Go world.

Post reply on HN