Which is better for quickly developing small utilities? AutoIt or AutoHotKey?
Which is better for quickly developing small utilities? AutoIt or AutoHotKey or something else?
I need to develop some small software for which开发者_如何学运维 I think using some professional suite like Visual Studio will be overkill. Most of the macro recording tools like AutoIt or AutoHotKey provide enough power to write decent application. Plus they are small and free.
Which option will be good? Using one of these tools or using some other small/free compiler?
They are both pretty good, and can do most of the same things... but I typically use AutoIt over AutoHotKey for the following reasons:
If you need a GUI at all, then you'll need to use AutoIt.
I prefer the syntax of AutoIt over AutoHotKey's. IMO, it is much easier to follow, and pick back up when you need to go back into your code later.
I like that AutoIt makes it very easy to change version numbers, icons, and compression of your compiled scripts (when compiling to exe). The default compression will sometimes cause false positives with some anti-virus software.
Ultimately, though, it really depends on what your requirements are for your small utilities.
Both are really good pieces of software and you will only decide by trying both of them out with tests that check if you can create your small bits of software.
Me personally I would probably investigate AutoIt in depth and if it started to mess me about I would then check AutoHotKey and others.
You can pretty much do whatever you can in one in the other, but I think it breaks down to: (1) short, keyboard shortcut driven utils and (2) more complex, UI driven scripts. For example:
I use AutoHotKey scripts every few minutes, and use AutoHotKey here over AutoIT because it's snappier to launch (ie via keyboard shortcuts).
I use AutoIT scripts every once in a while to do more complex things, such as to run multi-stage tasks that require a UI... or for when I would like to easily produce a compiled .exe
精彩评论