Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

AutoHotkey vs. AutoIt?


  • Please log in to reply
117 replies to this topic
daonlyfreez
  • Members
  • 995 posts
  • Last active: Jan 23 2013 08:16 AM
  • Joined: 16 Mar 2005
Ofcourse it is :p

:wink:
Posted Image mirror 1mirror 2mirror 3ahk4.me • PM or Posted Image

Smikkel
  • Members
  • 29 posts
  • Last active: Nov 17 2011 07:38 AM
  • Joined: 10 Jul 2007
I was a noob, I'm still a noob, I used AutoIt3, switch to AHK, and finally find out that my noob scripting attempts at least seem more logical.

AutoIt may be fine sourced, it is a complete mess compared to AHK whenever it's up to the user to actually DO something with it.

AHK all the way !

Sean
  • Members
  • 2462 posts
  • Last active: Feb 07 2012 04:00 AM
  • Joined: 12 Feb 2007

Time elapsed
AutoHotkey: 39 sec.
AutoIt: 49 sec.

I think this test was a bit unfair, should've used the following. It would reduce a few more seconds:

DllCall("user32.dll\QueryPerformanceCounter", "Int64P", Counter)


majkinetor
  • Moderators
  • 4512 posts
  • Last active: Today, 07:41 AM
  • Joined: 24 May 2006
In my tests witn system environment variable functions the difference was around 2x.

The source code dilema is not the question here. The higher degree of abstraction always behaves less performant. If AutoIt code is more sophisticated, that generaly means it is slower (which tests show, and the difference in speed is not small).

The commentary about Goto and spagetty AHK code thus doesn't stand well in typical user environment (nor recommandations "not to use goto" should be followed blindly like suggested above). The Chris optimisied AHK for performance, the code elegance is different topic.
Posted Image

Katrijn
  • Guests
  • Last active:
  • Joined: --
Hello,

I would like to apologize for the behavior of i542. It is not the attitude of the majority of those in AutoIt and I want to sincerely apologize to this Forum and the People on whose toes i542 is trying to stomp. He is 11 years old and he has a long way to go in growing up. He has been warned on AutoIt Forums and doesn't take the hint there either. I just wanted to say how sorry I am that he has brought up this "flame war" again. It was so "not right" of him.

I am not a programmer and I don't use either AutoIt or AHK. But I am kinda like the Mother Figure at AutoIt for my husband gafrost is an active user of AutoIt. And i542 was one I thought I had gotten through to about how to behave on public Forum. I am sorry that I didn't do a better job.

Please accept my humblest apologies.

Kaye

TreeSloth
  • Guests
  • Last active:
  • Joined: --
duh! what flame? where? :roll:

Laszlo
  • Moderators
  • 4713 posts
  • Last active: Mar 31 2012 03:17 AM
  • Joined: 14 Feb 2005
Shame on all of us, who felt provoked by an 11-year old. I thought he was 15 or so, but non of us should have taken him seriously. It is a valuable lesson for us: don't spend our time with fighting a kid.

corrupt
  • Members
  • 2558 posts
  • Last active: Nov 01 2014 03:23 PM
  • Joined: 29 Dec 2004
:lol: Who cares how old... This thread has become more of a sport than a constructive comparison/debate anyway... :p

tonne
  • Members
  • 1654 posts
  • Last active: May 06 2014 06:22 PM
  • Joined: 06 Jun 2006
... and nearly just as funny as The Argument Sketch

SKAN
  • Administrators
  • 9115 posts
  • Last active:
  • Joined: 26 Dec 2005
@tonne: Thanks for that link. Amusing! :)

corrupt
  • Members
  • 2558 posts
  • Last active: Nov 01 2014 03:23 PM
  • Joined: 29 Dec 2004
The Argument Sketch (video)

AHKnow*
  • Guests
  • Last active:
  • Joined: --
At this point in AutoHotkey development, I don't think AutoIt users can say much...

AutoHotkey does COM/OLE or can embed VBScript and JScript. There are also other "workaround methods" that would allow for adding other script languages into AutoHotkey script, as if VBScript and JScript were not enough. Not to mention DLL calls, etc...

AutoHotkey has a simpler to use and learn syntax. Example- LOOP and GUI creation.

AutoHotkey is open source and AutoIt is closed source.

AutoHotkey is faster.

A few more steps on the AutoHotkey side and the "war" is technically over, despite any hate or bias.

The reason for this is that many programming languages are simply re-inventing the wheel. Everything could be done in Assembly or C, so why not do that?

Because its hard, difficult, slow, etc... The point is to find faster and easier ways to program. That is what AutoHotkey has accomplished to a greater extent than AutoIt.

What is truly innovative is not creating another Visual Basic-like language, but creating an easier to use, more useful, and faster to learn language.

leggah
  • Members
  • 44 posts
  • Last active: Feb 07 2008 03:27 PM
  • Joined: 14 Oct 2007
Yeah, I first stumbled upon AutoIt and used that for a few weeks. I realized I could not grasp the syntax and concept. However, I found AHK and it seems that AHK has simpler methods and calls.

FireItBurns
  • Guests
  • Last active:
  • Joined: --
Hello. I am a long time user of Autoit3 and regular on the Autoit V3 forums. I'm using an alternate name to protect my identity :oops:

I've heard of the hostility between Autoit and AHK before, and quite frankly, believe it is unnecessarily. Over on the Autoit3 Forums, threads are locked that even mention AHK. Personally, I choose Autoit3, because to me, the Syntax is cleaner, and it is very expendable (A user recently wrote functions to allow the execution of raw machine code)

About people saying the users on the forum are vicious:

This is totally a misconception. 90% of the members are really nice people. We do have one hilarious moderator who is able to drop the F bomb whenever necessary, and we can be a little hostile to members who are just learning Autoit to bot online games, but that is only to try to maintain Autoit's good name.

I do know i542 from the forums, and he can be... obnoxious. Heck, he is obnoxious. Katrijn (Posted earlier in the thread) is also a regular member toping off at thousands of posts. You can tell by the way she posted that message that we're not all bad over here.

About the fact that it's fishy that Autoit went closed source, I've used Autoit3 for 2 years, and i know the developer are all extremely kind people, and i'm sure they closed the source as a benefit to the language.

IMHO, people should use whatever language they feel like using. Let people name their scripts with an AHK extension, Let them name their scripts with an AU3 extension. Just put an end to the hostility.

Thank you.

twhyman
  • Members
  • 348 posts
  • Last active: Sep 17 2014 01:55 AM
  • Joined: 07 Dec 2005
Hi,

After Reviewing the AutoIT function page, and viewing the examples
I personally think AHK need to "borrow" some needed functions like
The Whole TCP Section :D, Beside that i think AHK is faster and cleaner.

BTW is there an AHK 2.0 on the horizon? :D

Twhyman