ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

AutoHotKey vs AutoIT - why choose one over the other?

(1/1)

lugosi84:
Hello DonationCoders,
I have already written a small program in AutoIT and I see that many of you use AutoHotKey. Is there a certain advantage to using AutoHotKey over AutoIT? Is there a feature set that is missing from AutoIT?

Please discuss.

wraith808:
Hello DonationCoders,
I have already written a small program in AutoIT and I see that many of you use AutoHotKey. Is there a certain advantage to using AutoHotKey over AutoIT? Is there a feature set that is missing from AutoIT?

Please discuss.
-lugosi84 (January 09, 2017, 04:53 AM)
--- End quote ---

I think it's personal preference, just like most arguments of this type.

http://stackoverflow.com/questions/1686975/choosing-a-windows-automation-script-language-autoit-vs-autohotkey

http://paperlined.org/apps/autohotkey/autoit_and_autohotkey.html

http://advancedcase.blogspot.com/2013/05/autoit-or-autohotkey.html

http://www.computoredge.com/AutoHotkey/Compare_AutoHotkey_vs_AutoIt_Review.html

Those are just from searching autoit vs autohotkey.

One distinction that is important for a lot of people:  AutoIt is freeware closed source.  AHK is FOSS.

MilesAhead:
I used to prefer AutoIt because it had a more basic like syntax vs. the comma delimited function call style of AHK.  Now AHK has support for objects and also has expanded on the Expression syntax that is more like the C language.

As for capabilities that I use, I find AHK has much better mouse hotkey support.  AutoIt makes it very easy to create a Gui with Buttons showing the Icons of the program you would launch by pressing the button.

They both have strengths and weaknesses in various areas and even with various Window objects such as ListViews etc..  But there is no reason to eschew either completely.  If the program Gui I wish to create is easier to do using AutoIt but I wish the superior AHK mouse hotkey support I have the AutoIt program launch an AHK program to handle the mouse clicks and send a Windows message back to the AutoIt program letting it know what to do after the mouse hotkey fires or whatever.  The two work together well.  Also they have an "install" function that will break out the exe and icon files or whatnot into the current folder if not present.  So there is no requirement to have a formal install program.  Everything can be clumped into one exe if desired.

The other area where I prefer AHK is in file operations especially recursive descent through a folder and contained sub-folders processing files matching a wild card pattern.  AHK makes it simpler in my opinion.

anandcoral:
Most of the my apps are made in Autohotkey and few in AutoIt.

I look for the feature of the app which I am going to develop and take up which I find "easier" for me. Nothing personal, just similar done previously or have a similar sample etc. makes my preference.

If you feel at home in AutoIt, it is OK. If you need to code some feature which you can not find in AutoIt, then you may have to look around.

Regards,

Anand

Contro:
Ejem.
I prefer the language with more support and good people helping.
For this reason DC is an extraordinary forum.
 :-*

Navigation

[0] Message Index

Go to full version