We’ve covered how to access the Windows Vista Calendar using the keyboard, but what if you wanted to assign a single keystroke to pop up the calendar? Yeah, sure, you can just click it with the mouse, but where’s the geek fun in that?

我们已经介绍了如何使用键盘访问Windows Vista日历,但是如果您想分配一个按键来弹出日历怎么办? 是的,当然,您可以用鼠标单击它,但是其中的怪胎乐趣在哪里?

In case you aren’t sure what we’re talking about, you can use Win+B, then Left, then Enter to pop up this calendar with the keyboard (or you can just click once on the clock). But we can get that down to a single keystroke with an AutoHotkey script.

如果您不确定我们在说什么,可以使用Win + B,然后按Left,然后按Enter来使用键盘弹出该日历(或者您可以单击时钟一次)。 但是我们可以使用AutoHotkey脚本将其简化为单个击键。

Note: I came up with this idea after reading an article from Digital Inspiration about launching timedate.cpl with a shortcut.

注意:在阅读Digital Inspiration中有关使用快捷方式启动timedate.cpl的文章后,我想到了这个想法

Using the AutoHotkey Script

使用AutoHotkey脚本

In order to use this script, you’ll need to have AutoHotkey installed. If you’d rather not do that, there’s a compiled version further down.

为了使用此脚本,您需要安装AutoHotkey 。 如果您不愿意这样做,则还有一个编译后的版本。

What we’ll do is assign the F12 key to send the keystrokes instead of having to do them manually. Create a new file named something.ahk and then paste in the following:

我们要做的是分配F12键来发送击键,而不必手动进行。 创建一个名为something.ahk的新文件,然后粘贴以下内容:

#InstallKeybdHook#Persistent#HotkeyInterval,100SetKeyDelay, -1

#InstallKeybdHook#Persistent#HotkeyInterval,100SetKeyDelay,-1

f12::{send, {lwin down}b{lwin up}sleep 10send, {left}sleep 10send, {enter}Return}

f12 :: {发送,{lwin向下} b {lwin向上}Hibernate10发送,{left}Hibernate10发送,{enter}返回}

Save the file, and now you can double-click on it to launch it.

保存文件,现在您可以双击它来启动它。

At this point you can use the F12 key to pop open the calendar. If you want to close the script out, there’s an icon in the system tray.

此时,您可以使用F12键弹出日历。 如果要关闭脚本,则系统托盘中会有一个图标。

Note: You can substitute another key instead of F12 if you want. You could also add #NoTrayIcon to keep it from putting an icon into the system tray.

注意:如果需要,可以用其他键代替F12。 您还可以添加#NoTrayIcon,以防止其将图标放入系统托盘中。

Using the Compiled Application

使用编译的应用程序

I’ve included a compiled .exe version of the script in the download that you can run if you don’t have AutoHotkey installed. Just double-click on VistaCalendarHotkey.exe to run it.

如果未安装AutoHotkey,则在下载文件中包含脚本的已编译.exe版本。 只需双击VistaCalendarHotkey.exe即可运行它。

Download VistaCalendarHotkey AutoHotkey Script/Application

下载VistaCalendarHotkey AutoHotkey脚本/应用程序

翻译自: https://www.howtogeek.com/howto/windows-vista/keyboard-ninja-pop-up-the-vista-calendar-with-a-single-hotkey/

键盘忍者:使用单个热键弹出Vista日历相关推荐

  1. android 键盘偶现收起之后又弹出

    现象:应用首次安装,点击搜索.弹起键盘.退出应用,键盘收起又弹出 fun hideSoftKeyboard(editText: EditText?) {if (editText != null) {v ...

  2. android 软键盘工具类,Android开发之弹出软键盘工具类简单示例

    本文实例讲述了Android开发之弹出软键盘工具类.分享给大家供大家参考,具体如下: package com.maobang.imsdk.util; import android.content.Co ...

  3. Flutter 移动光标 关闭弹出的键盘

    移动光标 要移动光标先要将目标view关联对应的FocusNode, 然后通过FocusScope来request对应的FocusNode即可. 关闭弹出的键盘 - 如果关联了对应的FocusNode ...

  4. 弹出Windows10的虚拟键盘总结

    由于公司的项目软件一直都在Windows的平板电脑上运行,所以当用户点击了输入框之类的控件时,就要在代码中主动让Windows的虚拟键盘启动并显示出来.这个功能分了几步的开发过程,现在来总结一下. 项 ...

  5. 键盘按8怎么弹出计算机,win8系统键盘太过灵敏打一个字母键出来多个字母怎么办...

    最近有win8系统用户反映说他使用的键盘太过灵敏了,轻轻敲打键盘的一个字母键,却总是弹出一长串多个字母,经常会打错字,想必有很多用户遇到过这样的问题吧,要如何处理呢,现在小编就给大家介绍一下win8系 ...

  6. 3.Emwin点击Edit弹出数字键盘,输入到Edit并按下确认更新到Text显示(完整)

    Emwin点击Edit弹出数字键盘,输入到Edit并按下确认更新到Text显示 1. 第一步,先打开emwin的GUIBuilder,分别创建两个页面,第一个是数字键盘页面. 第二个页面包含一个Win ...

  7. H5页面 ios 键盘收起后弹出层焦点错位

    请注明出处:https://blog.csdn.net/qq_23179075/article/details/86497498 解决H5页面 ios键盘收起后弹出层焦点错位问题 用 H5 写app页 ...

  8. android动态设置软键盘弹出模式,Android 弹出软键盘所遇到的坑及解决方法

    重要代码: //1.此layout作为最外层的layout: //2.设置需要调整的view: setAdjustView(View view); //3.如果需要控制输入框的显示与隐藏,可以实现On ...

  9. webview中获得焦点禁止弹出键盘_电脑键盘使用方法

    对于刚使用电脑的电脑新手而言,首先要做的就是熟悉键盘.不过,小编发现有许多的童鞋都怕文字过于繁多看的自己眼花,别担心,小编这有电脑键盘的示意图,能让大家一目了然. 对于经常需要使用电脑的人而言,键盘那 ...

最新文章

  1. 关于Kafka Spring Boot的教程
  2. AI综述专栏 | 神经科学启发的人工智能
  3. [新手学Go]GO语言闭包的使用
  4. 【Groovy】Groovy 扩展方法 ( Groovy 扩展方法引入 | 分析 Groovy 中 Thread 类的 start 扩展方法 )
  5. 可以让SQL针对某个错误信息号抓DUMP的命令组合
  6. hibernate工厂模式_Hibernate锁定模式–乐观锁定模式如何工作
  7. 整蛊偷快递的家伙!不愧是 NASA 工程师
  8. win10雷电3接口驱动_“雷电3”接口知识大科普
  9. JavaCard概述
  10. 零基础应该先学习 java、php、前端 还是 python?
  11. 并发编程3-线程调度
  12. 常用python内置函数_python常用内置函数
  13. NetApp 全闪存数据存储软件 AFF A 系列
  14. (十三) Oracle函数
  15. svn造成桌面图标显示问号的处理办法
  16. 层次聚类sklearn.cluster包AgglomerativeClustering
  17. 【眼镜片】绿膜和蓝膜有什么区别?
  18. 关于ioctl幻数构造
  19. 拼多多的店铺怎样引流和出价-纽黑文教学
  20. iphone怎么打c语言的分号,iPhone特殊符号怎么打 输入特殊符号技巧

热门文章

  1. android音乐播放器完整教程,android实现简单音乐播放器
  2. webstock php,workerman_connection
  3. 数据库---练习题(45道)
  4. python中的__new__和__init__
  5. 软件设计师中级 百度知道_设计师应该知道什么
  6. Gitee 如何自动部署博客 Pages?推荐用这个GitHub Actions!
  7. go语言中的方法method
  8. JS获取元素的offsetTop,offsetLeft等相关属性
  9. 玩转CSS选择器(一) 之 使用方法介绍
  10. vim配置php语法高亮