Auto Hotkey

1. 使用autohotkey映射键盘按键

将两次右Alt按键映射为Crtl+F5键(^表示cntl):

~LAlt::
if (A_PriorHotkey <> "~LAlt" or A_TimeSincePriorHotkey > 400)
{
    ; Too much time between presses, so this isn't a double-press.
    KeyWait, LAlt
    return
}
Send, ^{F5}
return
文档更新时间: 2018-11-10 22:44   作者:nick