0.5秒内,按一下home依然是home,按两下隐藏桌面图标,按三下打开指定网页,请根据自己需求修改。
~Home::
{
if control_presses > 0
{
control_presses += 1
return
}
control_presses = 1
SetTimer, Keycontrol, -500
return
Keycontrol:
if control_presses = 1
{
control_presses = 0
}
else if control_presses = 2
{
ControlGet, class, Hwnd,, SysListView321, ahk_class Progman
If class =
ControlGet, class, Hwnd,, SysListView321, ahk_class WorkerW
If DllCall("IsWindowVisible", UInt,class)
WinHide, ahk_id %class%
Else
WinShow, ahk_id %class%
}
else if control_presses > 2
{
run www.baidu.com
}
control_presses = 0
return
}
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
这个有意思