Two Plus Two Newer Archives

Two Plus Two Newer Archives (http://archives1.twoplustwo.com/index.php)
-   Software (http://archives1.twoplustwo.com/forumdisplay.php?f=47)
-   -   Why AHK scripts ? (http://archives1.twoplustwo.com/showthread.php?t=510215)

freecard4all 09-26-2007 09:30 PM

Why AHK scripts ?
 
I'm thinking of learning the AHK but after some research I found out there are better scripting languages (e.g. AutoIt).

But everything here is in AHK. I found only one old script in AutoIt and it's now rewritten into AHK [img]/images/graemlins/smile.gif[/img]
Also the AHK has some evident connection to the AutoIt (compatibility with older version and uses "AutoIt Windows Spy".
It seems like AHK is a retarder version of AutoIt (no offence [img]/images/graemlins/wink.gif[/img] but very popular here.


Why is the AHK so popular right here? Has it some advantages compared to AutoIt or something other?

_dave_ 09-26-2007 09:53 PM

Re: Why AHK scripts ?
 
What would make you think AutoIT is superior?

AHK is an open-source evolution of an older version of AutoIT I believe - and after a quick glance at the AutoIT homepage, I can't see anything that makes it stand out [img]/images/graemlins/confused.gif[/img]

So tell me, what do you see that I do not?

CudjoeBill 09-26-2007 11:52 PM

Re: Why AHK scripts ?
 
If for no other reason, you will find that there are many excellent programmers here (such as _dave_, Roland, jukofyork, and many others) that can (and quite often, do) help people in debugging their AHK scripts.

freecard4all 09-27-2007 10:07 PM

Re: Why AHK scripts ?
 
[ QUOTE ]
after a quick glance at the AutoIT homepage, I can't see anything that makes it stand out

[/ QUOTE ]
try to download it at look at the manual. More functions and the GUI is ultra-superior to AHK.
edit// by GUI I mean the GUI you can make for your scripts.

freecard4all 09-27-2007 10:18 PM

Re: Why AHK scripts ?
 
[ QUOTE ]
you will find that there are many excellent programmers here

[/ QUOTE ]
yes but they started with AHK for no reason? As I understand it now the AHK was superior to AutoIT before the release of AutoIt3. Now the AutoIt is superior to AHK but AHK has it's momentum.

So I can start with AutoIt and I'll miss nothing, correct?

The autoit has big support community so I don't think that lack of support will hurt me.
Also the principles of both languages are very similar so I can learn from 2+2 AHK scripts.

_dave_ 09-27-2007 10:51 PM

Re: Why AHK scripts ?
 
Am I somehow too drunk/blind, or after a couple hours of reading AutoIT docs - does it not support hotkeys?

TheIrishThug 09-28-2007 12:30 AM

Re: Why AHK scripts ?
 
Quick look at the AutoIt GUI page and the only thing I'd need to check if AHK can handle is AVI.

In general, they are two languages that do much of the same thing. AHK has some strengths and AutoIT probably has it's strengths too. There are hundreds of languages in existance, there is no reason to restrict yourself to just one.

If you write a good script in AutoIt, people will use it and thank you.

freecard4all 09-28-2007 09:58 PM

Re: Why AHK scripts ?
 
[ QUOTE ]
does it not support hotkeys?

[/ QUOTE ]
I'm new to this stuff but if you mean
Hotkey, KeyName [, Label, Options] then AutoIt has
HotKeySet ( "key" [, "function"] )

freecard4all 09-28-2007 10:06 PM

Re: Why AHK scripts ?
 
[ QUOTE ]
In general, they are two languages that do much of the same thing. AHK has some strengths and AutoIT probably has it's strengths too. There are hundreds of languages in existance, there is no reason to restrict yourself to just one.

[/ QUOTE ]
ok then, what are the strenghts of AHK or Autoit?


If you learn 5 different languages you will become famous. If you learn 50 you will become a super-translator with $200.000 salary. But my approach is much simpler: to manage one. Preferably the better one [img]/images/graemlins/smile.gif[/img]

notreallymyname 09-30-2007 05:41 PM

Re: Why AHK scripts ?
 
It's common for programmers to be competent in a dozen languages, your comparison to spoken languages is flawed. Just pick whichever one you like and use it and don't expect to make any converts. If people think your scripts are useful, they'll install AutoIt to use them just like they installed AHK for other scripts.


All times are GMT -4. The time now is 06:32 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.