Keyboard Ninja: Pop Up the Vista Calendar with a Single Hotkey Keyboard Ninja: Pop Up Vista календар з одним Hotkey
We've covered how to access the Ми розглянули, як отримати доступ до Windows Vista Calendar using the keyboard Календар Windows Vista за допомогою клавіатури , 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? Так, звичайно, ви можете просто клацніть по ній мишкою, але де Geek задоволення в цьому?
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). У випадку, якщо ви не впевнені, що ми говоримо, можна використовувати Win + B, далі ліворуч, потім введіть у спливав цей календар з клавіатурою (або просто натисніть один раз на годинник). But we can get that down to a single keystroke with an AutoHotkey script. Але ми можемо отримати, що аж до одного натискання клавіші зі сценарієм AutoHotkey.

Note: I came up with this idea after reading an article from Примітка: я прийшов із цією ідеєю після прочитання статті з Digital Inspiration Digital Inspiration about launching timedate.cpl with a shortcut. Про запуск timedate.cpl з ярликом.
Using the AutoHotkey Script Використання AutoHotkey Script
In order to use this script, you'll need to have Щоб використовувати цей сценарій, ви повинні мати AutoHotkey AutoHotkey installed. встановлена. If you'd rather not do that, there's a compiled version further down. Якщо ви не хочете це зробити, є скомпільовані версії нижче.
What we'll do is assign the F12 key to send the keystrokes instead of having to do them manually. Що ми будемо робити це призначити клавішу F12 для передачі сигналів з клавіатури, замість того щоб робити їх вручну. Create a new file named something.ahk and then paste in the following: Створити новий файл з ім'ям something.ahk а потім вставте в наступному:
#InstallKeybdHook # InstallKeybdHook
#Persistent # Persistent
#HotkeyInterval,100 # HotkeyInterval, 100
SetKeyDelay, -1 SetKeyDelay, -1f12:: F12::
{ (
send, {lwin down}b{lwin up} Відішліть Лвін вниз () B () до Лвін
sleep 10 10 спати
send, {left} Відішліть (LEFT)
sleep 10 10 спати
send, {enter} Send, (ENTER)
Return Повернення
} )
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. На цьому етапі ви можете використовувати клавішу F12, щоб відкрити поп-календар. If you want to close the script out, there's an icon in the system tray. Якщо ви хочете, щоб закрити зі сценарію, є іконка у системному треї.
Note: You can substitute another key instead of F12 if you want. Примітка: Ви можете замінити іншим замість клавіші F12, якщо хочете. You could also add #NoTrayIcon to keep it from putting an icon into the system tray. Можна також додати # 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. Я включив складено. EXE версію скрипта завантажити який можна запустити, якщо ви не встановлена AutoHotkey. Just double-click on VistaCalendarHotkey.exe to run it. Просто двічі клацніть по VistaCalendarHotkey.exe для його запуску.

Daily Email Updates Email Щоденні оновлення
You can get our how-to articles in your inbox each day for free. Ви можете отримати наші довідкові статті у Вашу поштову скриньку щодня безкоштовно. Just enter your name and email below: Просто введіть ваші ім'я та адресу електронної пошти нижче:



Now that is just great. Тепер це тільки більше. I just added it into my other autohotkey script. Я просто додати його в мій інший сценарій AutoHotkey.
Thanks! Спасибо!
Another tip: Інший рада:
#n::Send {Alt}fwf # N:: Send (Alt) Fwf
This will make Win+N create a new folder in the active Explorer window. Це зробить Win + N Створити нову папку в активному вікні Explorer. No external tools, just simple native automation Ніякі зовнішні інструменти, просто в рідному автоматизації
Love AHK! Любов AHK!
or you could just simply use this code to replace the Windows+B action to launch the calender або ви можете просто використовувати цей код для заміни Windows + B дій для запуску календаря
#b::send, #b{left}{enter} # B:: відправити, # B (LEFT) (ENTER)
Works in XP too! Працює в XP теж! Thanks for the tip! Дякуємо за відгук!
In what application should I do the script? Крім того, який додаток я повинен робити скрипт?