authhotkey tutorial

AutoHotKey Tutorial

Keys and their mysterious symbols

Sysbol Description
# Windows
! Alt
^ Ctrl
+ Shift
& An ampersand may be used between any two keys or mouse buttons to combine them into a custom hotkey.

##HotKeys & HotStrings

  • 1、HotKeys

Here is a hotkey:

1
2
3
^j::
Send : My first sctipt!
Return

The meaning of this code is : when pressing {Ctrl} + j ,send the string to ide or other text editor;

  • 2、HotStrings

Here is a hotstring

1
2
::hell:: this is a hell;first string
:*:hell::this is a hell;second string

The first string meaning : when you type a string like ‘hell’ and press a blank or enter key ,the string ‘this is a hell’ will replace the ‘hell’;The second string meaning : As soon as you type the ‘hell’,’this is a hell ‘ will replace the ‘hell’