禁用键盘快捷键

If you’ve got a pet or small child, you know that an unguarded keyboard can spell disaster—or more likely, spell “dhjkhskauhkwuahjsdkja,mnsd”. We’ve got a tool for locking and unlocking your keyboard with a quick keyboard shortcut.

如果您有宠物或小孩,您就会知道,无人看管的键盘可能会造成灾难,甚至更有可能会造成“ dhjkhskauhkwuahahjsdkja,mnsd”的拼写。 我们提供了使用快捷键盘快捷键来锁定和解锁键盘的工具。

Keyboard Locker is a small program that handles this job well and takes up few system resources. It was originally a small AutoHotKey script written by an AutoHotKey forum-goer named Lexikos. We’ve spruced it up a bit and compiled it so that you don’t need to have AutoHotKey installed. If you do have AutoHotKey installed, we’ve included the original script in the download so that you can tweak it to your liking.

Keyboard Locker是一个小程序,可以很好地处理此工作,并且占用很少的系统资源。 它最初是由AutoHotKey论坛访问者Lexikos编写的小型AutoHotKey脚本。 我们对它进行了一些整理和编译,以使您不需要安装AutoHotKey。 如果您确实安装了AutoHotKey ,我们将在下载中包含原始脚本,以便您可以根据自己的喜好对其进行调整。

下载并运行键盘锁 (Download and Run Keyboard Locker)

To get started, go ahead and download Keyboard Locker. Unzip the Keyboard Locker folder wherever you want to keep it on your hard drive. and open the Keyboard Locker folder. You’ll see a number of files inside. These include some icon files and a readme, but the important two files are “KeyboardLocker.exe” and “KeyboardLocker.ahk.”

要开始使用,请继续并下载Keyboard Locker 。 将“键盘锁”文件夹解压缩到要保留在硬盘驱动器上的任何位置。 并打开Keyboard Locker文件夹。 您会在其中看到许多文件。 这些文件包括一些图标文件和一个自述文件,但重要的两个文件是“ KeyboardLocker.exe”和“ KeyboardLocker.ahk”。

If you do not have AutoHotKey installed, you’ll need to double-click “KeyboardLocker.exe” to run it. This file is an AutoHotKey script compiled to run as a standalone program, so that you don’t need AutoHotKey to use it.

如果没有安装AutoHotKey,则需要双击“ KeyboardLocker.exe”以运行它。 该文件是一个AutoHotKey脚本,已编译为可作为独立程序运行,因此您不需要AutoHotKey即可使用它。

If you already use AutoHotKey, you can use the “KeyboardLocker.ahk” file instead to run the script directly. The advantage of using the script version is that, if you’re familiar with AutoHotKey, you can edit the script yourself to change the shortcuts for locking and unlocking your keyboard.

如果您已经使用AutoHotKey,则可以使用“ KeyboardLocker.ahk”文件直接运行脚本。 使用脚本版本的好处是,如果您熟悉AutoHotKey,则可以自己编辑脚本以更改用于锁定和解锁键盘的快捷方式。

When you launch Keyboard Locker, you’ll see a small keyboard icon appear in your notification area. The tool is now ready for use.

启动Keyboard Locker时,您会在通知区域看到一个小的键盘图标。 该工具现在可以使用了。

To lock your keyboard, press Ctrl+Alt+L. The Keyboard Locker icon changes to indicate that the keyboard is locked.

要锁定键盘,请按Ctrl + Alt + L。 键盘更衣室图标更改为指示键盘已被锁定。

Almost all keyboard input is now disabled, including function keys, Caps Lock, Num Lock, and most special keys on media keyboards. There are a few key combinations that will still work, such as Ctrl+Alt+Delete and Win+L, but those are extremely unlikely for a paw or tiny hand to hit by accident.

现在几乎所有的键盘输入都被禁用,包括功能键,Caps Lock,Num Lock和媒体键盘上的大多数特殊键。 有一些组合键仍然可以使用,例如Ctrl + Alt + Delete和Win + L,但是对于爪子或小手意外击中的可能性极小。

When you want re-enable keyboard input, simply type in the word “unlock.” The Keyboard icon changes back to normal again to show that the keyboard is unlocked.

如果您想重新启用键盘输入,只需输入单词“ unlock”。 键盘图标再次变回正常,以显示键盘已解锁。

如何显示气球通知提醒 (How to Show Balloon Notification Reminders)

By default, Keyboard Locker does not display notifications when you lock or unlock your keyboard. If you’d like to see them, right-click the Keyboard Locker icon in the notification area and choose “Show tray notifications.”

默认情况下,当您锁定或解锁键盘时,Keyboard Locker不会显示通知。 如果您想查看它们,请右键单击通知区域中的键盘锁图标,然后选择“显示任务栏通知”。

Keyboard Locker will now show notifications when you lock or unlock your keyboard.

现在,当您锁定或解锁键盘时,键盘锁会显示通知。

If you prefer not seeing notifications, you can also get a reminder of the shortcuts for locking and unlocking your keyboard by hovering your mouse over the Keyboard Locker icon.

如果您不希望看到通知,则还可以通过将鼠标悬停在“键盘锁”图标上来提醒您锁定和解锁键盘的快捷方式。

Note: On on some PCs we’ve tested running Windows 10, when you unlock your keyboard while notifications are turned on, it sometimes can take several seconds after typing “unlock” for keyboard functionality to return. It will return, though.

注意:在某些我们测试过运行Windows 10的PC上,当打开通知时解锁键盘时,有时在键入“解锁”后可能需要几秒钟才能返回键盘功能。 但是它将返回。

Windows启动时如何启动键盘锁 (How to Start Keyboard Locker when Windows Starts)

It’s easy enough to run Keyboard Locker when you need it, but you can also have it run automatically when Windows starts by adding it to the Windows startup folder. Hit up our guide on how to add programs, files, and folders to system startup in Windows for the full instructions.

在需要时可以很容易地运行Keyboard Locker,但也可以通过将Windows Locker Locker添加到Windows启动文件夹中来自动运行它。 阅读我们的指南,了解如何在Windows中为系统启动添加程序,文件和文件夹,以获取完整说明。

In short, though, just store your AutoHotKey folder wherever you want. Open the Run dialog by pressing Windows+R, type “shell:startup,” and then click “OK.”

简而言之,不过,只要将AutoHotKey文件夹存储在所需的位置即可。 通过按Windows + R打开“运行”对话框,键入“ shell:启动”,然后单击“确定”。

Create a shortcut to the “KeyboardLocker.exe” or “KeyboardLocker.ahk” file—whichever you use—in the Windows startup folder. You can do this by dragging the file to the startup folder with your right mouse button and choosing “Create shortcut here” or by right-clicking anywhere in the startup folder and choosing New > Shortcut from the context menu. Once the shortcut is in place, Keyboard Locker will run automatically when you start Windows.

在Windows启动文件夹中,创建指向“ KeyboardLocker.exe”或“ KeyboardLocker.ahk”文件的快捷方式(无论使用哪种方式)。 您可以使用鼠标右键将文件拖动到启动文件夹中,然后选择“在此处创建快捷方式”,或者右键单击启动文件夹中的任意位置,然后从上下文菜单中选择“新建”>“快捷方式”,以执行此操作。 快捷方式到位后,启动Windows时Keyboard Locker将自动运行。



Keyboard Locker is a great utility for those of us with curious creatures and inquisitive infants. If you have a different use for this program or you make any clever modifications to the script, let us know in the comments!

键盘储物柜对于我们这些有好奇的动物和好奇的婴儿的人来说是一个伟大的工具。 如果您对该程序有不同的用途,或者对脚本进行了任何巧妙的修改,请在注释中告知我们!

Image Credit: NOGRAN s.r.o./Flickr

图片来源: NOGRAN sro / Flickr

翻译自: https://www.howtogeek.com/howto/11570/disable-the-keyboard-with-a-keyboard-shortcut-in-windows/

禁用键盘快捷键

禁用键盘快捷键_如何在Windows中使用键盘快捷键临时禁用键盘相关推荐

  1. 禁用windows10更新_如何在Windows 10上使用(或禁用)Windows Ink工作区

    禁用windows10更新 Windows 10's Anniversary Update improves on Windows 10's stylus support with a new &qu ...

  2. 笔记本禁用键盘命令符_如何在Windows中禁用命令提示符和“运行”程序

    笔记本禁用键盘命令符 The Command Prompt and the Run program are pretty powerful tools in the Windows world. If ...

  3. mfc键盘控制移动鼠标光标_如何在Windows中使用键盘控制鼠标光标

    mfc键盘控制移动鼠标光标 If you're stuck without a mouse temporarily, don't worry-you can still use your PC. Yo ...

  4. 一键关闭wi-fi蓝牙捷径_如何在Windows中使用键盘或桌面快捷方式打开或关闭Wi-Fi...

    一键关闭wi-fi蓝牙捷径 Some laptops come with "Wi-Fi" function keys or switches that can quickly en ...

  5. windows10添加键盘_如何在Windows中免费添加键盘并用您的语言书写

    windows10添加键盘 A lot of people don't realize that Windows supports a LOT of different languages out o ...

  6. outlook自定义快捷键_如何在Outlook中关闭或自定义新的电子邮件警报

    outlook自定义快捷键 Outlook does a great job of keeping you informed about new emails by using several dif ...

  7. eclipse中自定义视图_如何在Windows中自定义文件夹视图设置

    eclipse中自定义视图 While the Windows File Explorer seems somewhat simplified compared to older versions, ...

  8. java ncso发送电邮_如何在Windows中从命令行发送电子邮件(无需额外的软件)

    java ncso发送电邮 In Windows there is no way to natively send mail from the Command Prompt, but because ...

  9. windows禁用屏幕旋转_如何在Windows 10中禁用屏幕自动旋转

    windows禁用屏幕旋转 Windows 10 can automatically rotate your display if you have a convertible PC or table ...

最新文章

  1. matlab 二次指数平滑法预测
  2. Android m 自定义下拉菜单,Android实现动画效果的自定义下拉菜单功能
  3. 记录部署hue在k8s上
  4. Nginx添加SSL的支持
  5. font-size:100%理解
  6. CentOS 6 rpm方式安装mysql
  7. 电压kV为什么k要小写,原因你知道吗?
  8. Java程序利用POJ读写Excel的.xls或.xlsx文件所需的3个jar包
  9. C++substr()用法
  10. 网络爬虫相关程序学习(包含jar包等)---各大网站网络爬虫
  11. conda不是内部文件或外部命令_Fastqc文件数据质量质检
  12. PS制作棱镜化多边形照片效果
  13. 文件和文件之间的 相对路径 绝对路径的访问(之前总是容易忘记)
  14. 微信小程序 简单动画入门
  15. SiteGround主机和HostGator哪个好?(权威技术性分析)2022最新对比
  16. 【视频异常检测-论文阅读】Learning Not to Reconstruct Anomalies
  17. k2ttl救砖_无线路由救砖 ttl刷机教程
  18. 文件上传到云服务器对象存储oos流程
  19. 总结性能优化:构建你的前端知识体系
  20. 从2-3树理解红黑树

热门文章

  1. python中 s == s[::-1]是什么意思?
  2. mysql 时间函数的使用
  3. 多因子模型(MFM)
  4. Anaconda安装使用
  5. AutoHotKey入门教程
  6. XXE漏洞详解与利用
  7. 类别不均衡问题之loss大集合:focal loss, GHM loss, dice loss 等等
  8. SP服务商Java短信平台的软件模型和实现(吴宏杰,赵雷,杨季文,苏州大学计算机科学和技术学院)...
  9. 同步以太网-SyncE介绍
  10. 干货 | 蒙特卡洛方法(Monte Carlo)