Application autohotkey in the operation and maintenance of

AutoHotkey is a free, open-source software and automation macro builder tool that allows users to automate repetitive tasks. AutoHotkey application can modify any user interface (e.g., the default Windows key control command replaced Emacs style). [It is driven by a custom scripting language designed to provide keyboard shortcuts or hotkeys. Operation and maintenance will encounter many tedious and repetitive interface operation, AutoHotkey can be a good and flexible operation and maintenance personnel to help carry out repeated operations. 1. Download http://l.autohotkey.net/AutoHotkey_L_Install.exe
2. ahk script editor (highly recommended, with autocompletion feature)
http://fincs.ahk4.net/scite4ahk/#Downloads
3. AutoHotkey Chinese help documentation
ahkcn.sourceforge.jp/docs/AutoHotkey.htm
4. ahk script show
 ahk is autohotkey script file, use the following demo ahk script in the operation and maintenance of
I. quickly open ftp
Due to transfer files between the company's network restrictions, ftp server and the server are used as a medium, it is often used to log ftp function.
::>ftp:: SendInput  {raw}ftp serverip`n username`n Sleep,300 SendInput {raw} password`n return
Or typing in cmd shell interface> ftp then add a carriage return or space, it will automatically log the ftp.
There are a benefit with ahk script, as long as the script is installed on your own computer, rather than each server installation, because the script is monitoring the state of your keyboard, then the keyboard is simulated news.
ahk system using a keyboard hook, it may occupy ahk hotkey other programs has been registered as win + r the like. 
2. Open Notepad
#n:: run,notepad.exe return
WIN + n hold the open notebook
III. Open puppty
#p:: run,d:\putty.exe return
IV. Open commonly used directories
::>ahk:: run d:\source\ahk return
V. Repeat
Sometimes you need to be on the program interface or web repeated operations can be used to record AutoScriptWriter operation, and set shortcuts to batch operations.
All of the above is just a very simple application, ahk there are many very powerful features, nothing is impossible!
Please indicate the source: http://www.ttlsa.com/html/2971.html

Reproduced in: https: //my.oschina.net/766/blog/210984

Guess you like

Origin blog.csdn.net/weixin_33704591/article/details/91547361