计算机小键盘 等号,小键盘上的 000 键
此示例脚本把某些小键盘上特殊的 000 键设置为等号键. You can change the action by replacing the Send, = line with line(s) of your choice.
此示例脚本把某些小键盘上特殊的 000 键设置为等号键. You can change the action by replacing the Send, = line with line(s) of your choice.
#MaxThreadsPerHotkey 5 ; Allow multiple threads for this hotkey.
$Numpad0::
#MaxThreadsPerHotkey 1
; Above: Use the $ to force the hook to be used, which prevents an
; infinite loop since this subroutine itself sends Numpad0, which
; would otherwise result in a recursive call to itself.
SetBatchLines, 100 ; Make it run a little faster in this case.
DelayBetweenKeys = 30 ; Adjust this value if it doesn't work.
if A_PriorHotkey = %A_ThisHotkey%
{
if A_TimeSincePriorHotkey < %DelayBetweenKeys%
{
if Numpad0Count =
Numpad0Count = 2 ; i.e. This one plus the prior one.
else if Numpad0Count = 0
Numpad0Count = 2
else
{
; Since we're here, Numpad0Count must be 2 as set by
; prior calls, which means this is the third time the
; the key has been pressed. Thus, the hotkey sequence
; should fire:
Numpad0Count = 0
Send, = ; ******* This is the action for the 000 key
}
; In all the above cases, we return without further action:
CalledReentrantly = y
return
}
}
; Otherwise, this Numpad0 event is either the first in the series
; or it happened too long after the first one (e.g. perhaps the
; user is holding down the Numpad0 key to auto-repeat it, which
; we want to allow). Therefore, after a short delay -- during
; which another Numpad0 hotkey event may re-entrantly call this
; subroutine -- we'll send the key on through if no reentrant
; calls occurred:
Numpad0Count = 0
CalledReentrantly = n
; During this sleep, this subroutine may be reentrantly called
; (i.e. a simultaneous "thread" which runs in parallel to the
; call we're in now):
Sleep, %DelayBetweenKeys%
if CalledReentrantly = y ; Another "thread" changed the value.
{
; Since it was called reentrantly, this key event was the first in
; the sequence so should be suppressed (hidden from the system):
CalledReentrantly = n
return
}
; Otherwise it's not part of the sequence so we send it through normally.
; In other words, the *real* Numpad0 key has been pressed, so we want it
; to have its normal effect:
Send, {Numpad0}
return
计算机小键盘 等号,小键盘上的 000 键相关推荐
- 在Xshell 6开NumLock时按小键盘上的数字键并不能输入数字
小键盘问题 在Xshell 6上用vi的时候,开NumLock时按小键盘上的数字键并不能输入数字,而是出现一个字母然后换行(实际上是命令模式上对应上下左右的键).解决方法 选项Terminal-> ...
- 如何在VI中使用小键盘上的数字键
当在xshell中输入数字键时却不起反应,其实出现这样的情况还是很好解决的,本集小编就教大家如何在vi中使用数字键盘上的数字键. 问题描述: 本文介绍了要如何配置xshell和终端才能使用小键盘上的数 ...
- 计算机开机键on,计算器上的开机键是?关机键是
计算器上的开机键是?关机键是以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧! 计算器的开机键是什么,关机键是什么, 计算器 ...
- 如何启用计算机小键盘,电脑小键盘怎么开启
电脑小键盘怎么开启 有的人装完系统后发现小键盘灯不是开机自动启动,每次输密码都要手动开启,即使不输密码,也和不方便.怎样解决启动Windows XP进入登录欢迎界面时,自动开启小键盘NumLock的问 ...
- 计算机win键在哪,Windows键是哪个?电脑上的Win键在哪里? [图片和文字]
Windows键是哪个?电脑上的Win键在哪里? [图形] 哪个是Windows键? WIN键是在键盘上显示WINDOWS徽标的键. 位于CTRL键和ALT键之间,通常有两个左右. 在Win7和Win ...
- 怎么打开华硕电脑计算机功能,华硕笔记本小键盘怎么开(笔记本电脑虚拟键盘怎么打开)...
只搞机不搞基也不搞鸡. 每出一篇教程,必然是因为机油有需求,既然机油问到了. 那我就整理成一篇完成的教程,分享给更多的人. 什么是小键盘,小键盘就是全尺寸键盘中键盘最右边的数字键盘. 本篇教程是笔记本 ...
- 计算机标准差的按键是什么,在计算器上用标准差键直接求离均差平方和的方法...
在计算器上用标准差键直接求离均差平方和的方法 在试验数据的统计分析中,经常遇到有关离均差平方和的计算.特别在试验数据的变量分析中,主要计算工作量就是计算各 (本文共1页) 阅读全文>> 教 ...
- 计算机主机面板上的reset,按一下主机箱面板上的复位键(reset键)三`windows的基本操作.doc...
按一下主机箱面板上的复位键(reset键)三`windows的基本操作 第1讲 Windows98基础 一.认识电脑:主机.显示器.键盘.鼠标器.音箱(耳机).打印机等. 二.计算机的开机.关机 1. ...
- 计算机主机面板上的reset,一但中了IE窗口炸弹马上按下主机面板上的Reset键,重起计算机是对的吗...
一但中了IE窗口炸弹马上按下主机面板上的Reset键,重起计算机这句话是错的.IE炸弹是指有一段代码的执行会陷入无穷的循环,最终导致资源耗尽,影响计算机的使用. 在一些恶意网页中,埋伏了IE窗口炸弹. ...
最新文章
- C语言网络编程:close或者shutdown断开通信连接
- 大数据可视化技术面临的挑战及应对措施
- 电容的容量随着电压的变化而变化
- Java transient关键字使用小记
- 学习、掌握运营岗位必备的基本能力和思维
- js 用下标获取map值_javascript怎么获取map的值?
- python 分类变量转为哑变量_python 虚拟变量
- jbpm的例子之四 使用decision
- 批量修改文本文件编码GB18030为UTF-8
- CSS层叠样式表的理解(一)
- 群体智能优化算法之人工鱼群优化算法(Artificial Fish Swarm Algorithm,AFSA)
- 订单接收不同业务消息设计
- Delphi基础教程图文版之数组
- 深度揭秘:诺基亚的百年沧桑
- Linux ERROR: configuration failed for package ‘rgeos’
- 通过这些快捷键解决YouTube的“空格键问题”
- 电商中,订单号的生成方法
- webform母版页
- 意图推荐 Metapath-guided Heterogeneous Graph Neural Network for Intent Recommendation
- Li Lei 和 Han Meimei该结婚了吧