How-To: Create Custom Windows Shortcuts with AutoHotkey

16

Comments

+ Add a Comment
avatar

mechtheist

If you use multiple PCs, put your .ahk's in your DropBox folder and put shortcuts to them in the startup folder.   Helps with the sanity.

avatar

strobin

If you don’t want to clutter your desktop, creating the folder on the root of your C:\ drive will keep the folder out of sight, but still easy to find.
[url=http://www.micrositez.us/seo]Seo Orlando[/url]

avatar

micheal12

I just came across your blog and reading your beautiful words. I thought I would leave my first comment but I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often. 3m tegaderm

avatar

micheal12

Auto Hot key also makes use of hot strings, which allows you to bind keystrokes to words or phrases. This comes in especially handy when composing emails, whether it’s typing out an email address or converting your text-speak shortcuts into legible English. Thanks for sharing. Regards, Sex Toys

avatar

inter4522

Getting the hotkeys configures is always hard for me. I think this process is so eay to use. Having hotkeys configured makes things easier. Keep up the good work.

Philadelphia Luxury Apartments

avatar

Greethn

Would it be possible to create a hotkey to put your computer to sleep? My old keyboard had a button that would put the computer to sleep, but my new one does not. Sadly, it's a feature I really miss.

Domain Name Reseller

avatar

asill

My old keyboard had a button that would put the computer to sleep, but my new one does not. Sadly, it's a feature I really miss. by sohbet- lyrics

avatar

AshRo

This will indeed save a lot of time over months of work. Web Design cleveland Ohio

avatar

Cardboardboxer™

This is a great app for netbooks, and while I wouldn't say I could never figure out how to have it change songs, I would say you have saved me tons of time which is greatly appreciated. Thanks as always MPC.

avatar

jonahkirk

Great program, but what I really need is a way to program a hotkey into my WMC Remote so I can open Hulu Desktop on my HTPC with a button click instead of having to close out WMC and mouse accross my desktop to the shortcut. Any ideas?

avatar

RockyTopper

I appreciate the tutorial, one4yu2c.  I'll give it a try.

avatar

RockyTopper

Would it be possible to create a hotkey to put your computer to sleep?  My old keyboard had a button that would put the computer to sleep, but my new one does not.  Sadly, it's a feature I really miss.

 FYI, I'm running windows 7 x64 

avatar

Paul_Lilly

Yes, you can create a Sleep Hotkey in Win 7, it just takes a little bit of configuring. Here's how you do it:

First, go to this website and download the Sleep VBScript. Follow the site's instructions, which basically tells you to extract the folder to C:\Program Files.

For this to work smoothly, we need Windows to go into Sleep mode instead of shutting down when the power button is pressed. Open up the Start menu, right-click the Shutdown button, and select Properties. Select Sleep from the Power button action menu.

Now create a new script following the steps outlined in this article. In this example, we're going to make the PC go into sleep mode by pressing CTRL+Win+Enter. To do this, we'd type the following:

^#Enter::Run C:\Program Files\Sleep Shortcut\Sleep.vbs
Send {Enter}

Save your changes, close it out, and then double-click the script to enable it.

When you run the Hotkey combo to put your PC to sleep, a pop-up Window will appear asking if you really want to run this type of file. That means an extra keystroke or mouse click, so if you want to eliminate this extra step, uncheck "Always ask before opening this type of file." From now on, Windows won't prompt you when going into sleep mode with your new Hotkey combo, but be advised you've just disabled any security check for running VBS files.

One other thing worth noting. For best results, you're going to want to use the Enter key when configuring your Hotkey shortcut. If you don't, you'll end up seeing the above prompt, which isn't a big deal since you can just press Enter, but again, it's an extra keystroke.

-Paul Lilly

avatar

GFC

I believe you just run shutdown.exe x)

avatar

igoka

Thank You very much !!!! Great and usefull  application !!!!

avatar

GFC

Very useful small app. I would just like a bit of help here. Would it be possible to somehow flip through pictures with just hotkeys (maybe while being in the game?)

If someone knows what kind of a command/string you need - I'd really appreciate the help.

Log in to MaximumPC directly or log in using Facebook

Forgot your username or password?
Click here for help.

Login with Facebook
Log in using Facebook to share comments and articles easily with your Facebook feed.