日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

键盘忍者:使用单个热键弹出Vista日历

發布時間:2023/12/6 编程问答 34 豆豆
生活随笔 收集整理的這篇文章主要介紹了 键盘忍者:使用单个热键弹出Vista日历 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

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日历的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。