哪个更适合快速开发小型公用事业? AutoIt 还是 AutoHotKey?

发布于 2024-09-01 07:57:06 字数 207 浏览 2 评论 0原文

哪个更适合快速开发小型公用事业? AutoIt 或 AutoHotKey 还是其他什么?

我需要开发一些小软件,我认为使用像 Visual Studio 这样的专业套件会有点大材小用。大多数宏录制工具(如 AutoIt 或 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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

划一舟意中人 2024-09-08 07:57:06

它们都非常好,并且可以做大部分相同的事情...但我通常使用 AutoIt 而不是 AutoHotKey,原因如下:

如果您完全需要 GUI,那么您将需要使用 AutoIt。

与 AutoHotKey 相比,我更喜欢 AutoIt 的语法。 IMO,它更容易遵循,并在您稍后需要返回代码时重新拾起。

我喜欢 AutoIt,它可以非常轻松地更改已编译脚本的版本号、图标和压缩(当编译为 exe 时)。默认压缩有时会导致某些防病毒软件出现误报。

但最终,这实际上取决于您对小型公用事业的要求。

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.

焚却相思 2024-09-08 07:57:06

两者都是非常好的软件,您只能通过测试来尝试它们,检查是否可以创建您的小软件,然后才能做出决定。

就我个人而言,我可能会深入研究 AutoIt,如果它开始让我困惑,我会检查 AutoHotKey 和其他内容。

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.

牵强ㄟ 2024-09-08 07:57:06

你几乎可以在其中一个中做任何你能做的事情,但我认为它可以分解为:(1) 简短的、键盘快捷键驱动的实用程序和 (2) 更复杂的、UI 驱动的脚本。例如:

  • 我每隔几分钟使用 AutoHotKey 脚本,并在此处使用 AutoHotKey 而不是 AutoIT,因为它的启动速度更快(即通过键盘快捷键)。

  • 我偶尔会使用 AutoIT 脚本来执行更复杂的操作,例如运行需要 UI 的多阶段任务...或者当我想轻松生成已编译的 .exe 时

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文