RemNote_AutoHotkey 修 by 夜1


#SingleInstance Ignore			;;执行程序前先关闭程序
#Persistent


[::
if key_presses_shift6 = 1 ;
{
    SetTimer, KeyPressTimer, off
    send,{BackSpace}
    Send,{Text}`[`[
    key_presses_shift6 = 0
    return
}
suspend     ;暂停其他快捷键
key_presses_shift6 = 1
send,[
suspend     ;再重新启用其他快捷键
SetTimer, KeyPressTimer, 400 ; 在 400 毫秒内等待更多的键击.

return



<+1::
if key_presses_shift1 = 1 ;
{
    SetTimer, KeyPressTimer, off
    send,{BackSpace}
    Send,{Text}`!`!
    key_presses_shift1 = 0
    return
}


key_presses_shift1 = 1
send,+1

SetTimer, KeyPressTimer, 400 ; 在 400 毫秒内等待更多的键击.

return



<+3::
if key_presses_shift3 = 1 ;
{
    SetTimer, KeyPressTimer, off
    send,{BackSpace}
    Send,{Text}`#`#
    key_presses_shift3 = 0
    return
}

key_presses_shift3 = 1
SetTimer, KeyPressTimer, 400 ; 在 400 毫秒内等待更多的键击.
send,+3
return



<+4::
if key_presses_shift4 = 1 ;
{
    SetTimer, KeyPressTimer, off
    send,{BackSpace}
    Send,{Text}`$`$
    key_presses_shift4 = 0
    return
}

key_presses_shift4 = 1
SetTimer, KeyPressTimer, 400 ; 在 400 毫秒内等待更多的键击.
send,+4
return



<+5::
if key_presses_shift5 = 1 ;
{
    SetTimer, KeyPressTimer, off
    send,{BackSpace}
    Send,{Text}`%`%
    key_presses_shift5 = 0
    return
}

key_presses_shift5 = 1
SetTimer, KeyPressTimer, 400 ; 在 400 毫秒内等待更多的键击.
send,+5
return



<+7::
if key_presses_shift7 = 1 ;
{
    SetTimer, KeyPressTimer, off
    send,{BackSpace}
    Send,{Text}{//}
    key_presses_shift7 = 0
    return
}

key_presses_shift7 = 1
SetTimer, KeyPressTimer, 800 ; 在 800 毫秒内等待更多的键击.
send,+7
return





KeyPressTimer:

SetTimer, KeyPressTimer, off

if key_presses_shift6 = 2 ; 此键按下了一次.
{
    Send,{Text}`[`[
}



if key_presses_shift1 = 2 ; 此键按下了一次.
{
    Send,{Text}`!`!
}


if key_presses_shift3 = 2 ; 此键按下了一次.
{
    Send,{Text}`#`#
}


if key_presses_shift4 = 2 ; 此键按下了一次.
{
    Send,{Text}`$`$
}


if key_presses_shift5 = 2 ; 此键按下了一次.
{
    Send,{Text}`%`%
}


if key_presses_shift7 = 2 ; 此键按下了一次.
{
    Send,{Text}{//}
}


key_presses_shift6 = 0
key_presses_shift6 = 0
key_presses_shift1 = 0
key_presses_shift3 = 0
key_presses_shift4 = 0
key_presses_shift5 = 0
key_presses_shift7 = 0
return





给TA捐赠
共{{data.count}}人
人已捐赠
其他

Relative取色

2021-12-2 15:31:51

其他

shakemouse

2021-12-2 15:32:03

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索