If you are looking for software to use, go to Huajun Software Park! software release

How to design and bind keys in AutoHotkey - AutoHotkey Tutorial

Author: Xiaoxin Date: 2020-12-05

AutoHotkey
AutoHotkey-2.0.10 official version

System assistance Storage size: 2.83 MB Time: 2022-10-21

Software introduction: AutoHotkey is a simple and powerful hotkey scripting language. Users can combine keyboard, mouse, and even game joystick movements and clicks...

Download now

How to use AutoHotkey to design and bind buttons? Friends who don't know how to do it can take a look at the method of designing and binding buttons with AutoHotkey shared by the editor. I hope that through the study of this tutorial, it can help all my friends.

First, we can create a new script to test the keys, which is convenient for us to view. We can directly use the following script to test!

;test the press key

^!m::MsgBox You pressed Ctrl+Alt+m.

Screenshot of the tutorial for designing and binding keys with autohotkey

Then press Ctrl+Alt on the keyboard at the same time and click the M key. The following window will appear, and we can test it.

Screenshot of the tutorial for designing and binding keys with autohotkey

The # sign represents the windows system key, and the icon is the same as the windows system icon, as shown in the figure. The test is successful.

Screenshot of the tutorial for designing and binding keys with autohotkey

^ represents the Ctrl key

!Represents the Alt key, as shown in the figure, this has been tested above.

Screenshot of the tutorial for designing and binding keys with autohotkey

+ represents the shift key,

+m::MsgBox You pressed shift+m. As shown in the figure

Screenshot of the tutorial for designing and binding keys with autohotkey

Then < and > represent left and right. Everyone knows that the keys ctrll, alt, and shift are divided into left and right, so these two icons are used to distinguish them.

<^>!n::MsgBox You pressed AltGr+n.

<^

Screenshot of the tutorial for designing and binding keys with autohotkey

The above is the method of designing and binding keys in AutoHotkey shared by the editor. Friends who don’t know how to do it should hurry up and learn it.

Related articles