Subscribe to 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

| More
This article was originally written on 04/15/08 Tagged with: Vista Tips & Tweaks, Windows Vista

Daily Email Updates

You can get our how-to articles in your inbox each day for free. Just enter your name and email below:


Name:
Email:

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?


Leave a Comment




Leave your friendly comment here.

If you have a computer help question, click here to leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Our Friends
Getting Started


About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
conhost.exe
Dpupdchk.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. All Rights Reserved.