Automate Windows Tasks with AutoHotkey自动化的Windows任务autohotkey

Posted on March 22, 2008 at 6:07 am发布于2008年3月22日在上午06时07分

If you are given two choices: one is to complete a task manually and another is to let a computer automatically do it for you, which one would you choose?如果给你两个选择:其一是完成一项工作的手动和另一个原因是,要让电脑自动这样做对你来说,哪一个你会选择吗? The second choice obviously!中策显然! This is because the computer was created to automate lame, repetitive tasks, such as computing mathematical problems, payroll calculations etc.这是因为,计算机制造自动化跛脚,重复的任务,如计算数学问题,薪资计算等。

A computer is not really smart, so you have to program it first before it can complete a job for you.电脑是不是很聪明,所以你不得不程序,它第一次,然后才可以完成一个适合您的工作。 Having said that, one useful freeware that can help you to automate Windows tasks with simple scripted instructions to do your bidding is话虽如此说,其中一个有用的免费软件,可以帮助您自动完成的Windows任务简单脚本的指示,做您的出价是 AutoHotkey autohotkey .

How AutoHotkey Works如何autohotkey工程

AutoHotkey is a free, open-source utility for Windows that can automates almost any task by sending keystrokes and mouse clicks to your computer . autohotkey是一个自由,开放源码的公用设施,为窗口,可以自动完成几乎任何任务,通过发送按键和鼠标点击到你的电脑 It allows you to do a simple tasks such as creating custom hotkeys for launching applications to complex tasks such as monitoring your computer system for unwanted applications.它允许你做一个简单的任务,如创建定制热键,为开展应用到复杂的任务,如监视您的计算机系统,不想要的应用程序。

To create a simple task, you need to enter a few commands inside a text editor and save it in .ahk extension.创建一个简单的任务,你需要输入几个命令,在一个文本编辑器并保存在。华民延期。 Next, double click the .ahk file to run AutoHotkey inside the system tray so you can start executing this task based on what you have written inside the file.接下来,双击。华民档案运行autohotkey体制内托盘,让你可以开始执行这项任务的基础上,你写了内部档案。 Multiple AutoHotkey scripts can be run simultaneously so you can load as many scripts as you want.多重autohotkey脚本,可以同时运行,让您可以负荷,因为许多剧本,因为你想要的。 Don’t worry, you don’t have to be a programming guru to create a simple script - check out你不用担心,你并不需要得到一种编程大师创建一个简单的脚本-签出 AutoHotkey’s Quick Tutorial autohotkey的快速补习 to get a better idea on how AutoHotkey works.为了更好地构思如何autohotkey工程。

采样autohotkey实例运行

Things You Can Do with AutoHotkey事情,你可以做与autohotkey

AutoHotkey unleashes the power to automate Windows tasks by providing these features: autohotkey释放电力自动化的Windows任务提供了这些特点:

  • Create hotkeys for keyboard, mouse, even joysticks!创建热键键盘,鼠标,甚至游戏摇杆! You can use almost any key or combination of keys on the keyboard if you wish so.你可以使用几乎任何键或组合键的键盘,如果你希望如此。 For example, you can create a script to launch several Windows programs at once by pressing a single shortcut key.例如,你可以创建一个脚本推出几项Windows程式立刻按下一个单一的快捷键。
  • Use AutoHotkey as a typing tool .使用autohotkey作为一个打字的工具 For example, a simple command like ::btw:: allows you to expand the “ by the way ” phrase by typing it’s btw abbreviation from any text editor.举例来说,一个简单的命令,例如: :的BTW : :可让您以扩大"的方式 "的措辞键入它的BTW缩写,从任何文本编辑器。
  • Remap keys and button on your keyboard , mouse or joysticks. remap钥匙和按钮,你的键盘 ,鼠标或操纵杆接口。 For example, the RAlt::RButton command allows you to mimic a right click mouse press action to the Right Alt key on the keyboard.举例来说, ralt : : rbutton命令允许你模仿右点击鼠标按下行动,以正确的ALT键,对键盘。 Therefore, you can now find better usage for your idle function keys (F1 to F12)!因此,现在你可以找到更好的使用你的闲置功能键( F1代,以F12为) !
  • Convert a script to an EXE file so you can bring your script to another computer without AutoHotkey installed and run it there.转换成一个脚本,以一个exe档,所以你可以把你的脚本到另一台计算机上没有autohotkey安装并运行它。

华民向的EXE文件转换工具

  • Controls music volume - increase, decrease, mute etc. for any sound card.控制音乐量-增加,减少,静音等,为任何声卡。
  • Use your keyboard as your joystick or mouse - Linux command line geeks will absolutely love this.用您的键盘,因为你的操纵杆或鼠标-L inux命令行怪杰绝对会喜欢这。
  • Retrieve and change Windows clipboard contents.检索与变化Windows剪贴板的内容。
  • Disable or change the default Windows shortcut keys to your preferences. 禁用或更改默认Windows快捷键 ,以你的喜好。
  • Create a macro to record your current action (with Macro Recorder) for later use - useful for completing repetitive computer tasks, on demand or automatically.创造一个宏观,以记录您当前的行动(与宏观记录器) ,以便日后使用 -有用的,为完成重复的计算机任务,对需求或自动。 If you make some mistakes while scripting a task, the Syntax Checker is there to help.如果你犯了一些错误,而脚本任务, 语法检查是有帮助的。

The possibilities of things that you can do and automate with AutoHotkey are endless.各种可能性的事情是你可以做的和自动化与autohotkey是无止境的。 Another good use that I can find for AutoHotkey is to reuse idle keyboard keys to run a program that provides limited hotkey support.另一种用好,我能够找到为autohotkey是重用闲置键盘键运行程序,即提供有限的热键支持。 You may find AutoHotkey a little bit daunting at first but with an extensive manual and你可能会发现autohotkey有点令人生畏,在第一,但与广泛的手册,并 active AutoHotkey user forum 积极autohotkey用户论坛 , this freeware can work wonders for your computer.这个免费软件可以工作的奇迹,你的电脑。 Download AutoHotkey 下载autohotkey and automate your Windows today!和自动化你的Windows今天!

This is a guest post by Syahid A. from 这是一个客户后,由syahid答 TechMalaya techmalaya

Tags:标签: , , , ,

If you enjoyed this post, make sure you 如果你喜欢这个职位,请务必 subscribe to my RSS feed 订阅我的RSS馈送 !

» Filed Under »提起下 Free Software Downloads免费软件下载

Related Posts相关职位

Please post your comments/suggestions!请您评论/建议!