How to design and bind keys in AutoHotkey - AutoHotkey Tutorial

Time: 2020-12-05Source: Huajun Software TutorialAuthor: Xiaoxin

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 while holding down Ctrl+Alt on the keyboard, click the M key, and 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更多>>

Popular recommendations