2 Star 9 Fork 4

学边成 / paste_image

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
test_keys.ahk 653 Bytes
一键复制 编辑 原始数据 按行查看 历史
;a := RegExMatch("a:\abc","i)^[C-Z]:")
;a := RegExMatch("\abc","^/")
a := RegExMatch("nozip","nozip")
MsgBox, %a%
#!space::
if keytimes > 0 ; SetTimer 已经启动, 所以我们记录键击.
{
keytimes += 1
return
}
; 否则, 这是新开始系列中的首次按下. 把 count 设为 1 并启动
; 计时器:
keytimes = 1
SetTimer, Star, 500 ; 在 400 毫秒内等待更多的键击.
return
Star:
SetTimer, Star, off
if keytimes > 2
{
run notepad
}
if keytimes = 2
{
MsgBox, 111ls
}
if keytimes = 1
{
MsgBox, oelll
}
; 不论触发了上面的哪个动作, 都对 count 进行重置
; 为下一个系列的按下做准备:
keytimes = 0
return
AutoHotkey
1
https://gitee.com/nimeiz/paste_image.git
git@gitee.com:nimeiz/paste_image.git
nimeiz
paste_image
paste_image
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891