SEARCH

How-To Geek

Keyboard Ninja: Pop Up the Vista Calendar with a Single Hotkey

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?

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.

image 

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

Using the AutoHotkey Script

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.

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:

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

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

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

image

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.

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.

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.

Download VistaCalendarHotkey AutoHotkey Script/Application

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 04/15/08

Comments (5)

  1. tim

    Now that is just great. I just added it into my other autohotkey script.

    Thanks!

  2. Iliyan

    Another tip:

    #n::Send {Alt}fwf

    This will make Win+N create a new folder in the active Explorer window. No external tools, just simple native automation ;)

    Love AHK!

  3. trevor

    or you could just simply use this code to replace the Windows+B action to launch the calender

    #b::send, #b{left}{enter}

  4. Adam

    Works in XP too! Thanks for the tip!

  5. Kalle

    In what application should I do the script?

Get Free Articles in Your Inbox!

Join 134,000 newsletter readers

Email:

Go check your email!