Great script by Jon that locks your PC without using the built-in lock aka this is faster.
This script will lock the screen preventing anyone accessing your PC once the lock has been activated.
As soon as the script starts you will be prompted to set your password. This password will be used to unlock the screen.
When the lock is activated a dialogue will appear prompting you for your password. If you enter a wrong password then a message box will appear for five seconds saying the password is wrong and then the password dialogue will appear again. The screen will grey out whilst the screen is locked but will still be transparent. The task bar will be hidden.
If you forget the password while the computer is locked the press Alt+X to unlock it. To reset all of the settings to blank press Alt-R.
You can activate the lock manually through the tray menu. The lock can also be set to come on automatically after a certain amount of idle time like a screen saver does. Select the time setting from the “Auto-Activate” menu on the tray.
All of the settings are stored in a file called “lock” located on c:\. The password stored in this file is encrypted thanks to Rajats RC4 encryption script.

Download the script here.
Definitely a highly usable script found on the AHK forums, thanks Decarlo110!
It searches for lists, and deletes upon approval, all empty folders within a user-specified location. Folders do not go to the Recycle Bin.
Download the script here.
Ok, so this script is a basic one but it is pretty funny watching a non-IT employee have to deal with it. Using keyboard remapping we can change keys around so a K turnings into an I, and whatever else you want.
k::i
u::p
w::4
v::p
Then just run the EXE on their computer and watch, good for at least 5 minutes of fun.
Download the script here.
This is a pretty basic script that is based off the post below but I think it’s necessary to put up on the site. You can easily launch programs using AutoHotkey. The script is uber-short:
Ctrl + Alt + F to launch Firefox (of which version 3.5 is out so download it!).
^!f::
run "C:\Program Files\Mozilla Firefox\firefox.exe"
return
^ stands for Ctrl
! stands for Alt
# stands for Windows
You can of course change the path of the program to anything you want! This helps a lot for people who use Word, Notepad, etc. a lot.
Download the script here.
This script (thanks to Meta Robert for the idea), is a great way to seach google even faster. I t basically takes what’s highlighted and you hit Ctrl + Alt + R and it’ll search Google in your browser whatever you have highlighted.
I do a lot of lookups in Google and Wikipedia. What this code does is copy anything I have selected, then open Wikipedia and Google with relevant search results.
- The first line assigns the key sctrl+alt+r (I chose “R” for ‘Research)
- The second instructs AutoHotKey to “Copy” by sending the copy shortcut of “Ctrl+C”
- The third line basically says “wait here until the copy is done”
- The fourth and fifth lines are a bit tricky. I went to Google and Wikipedia, ran searches, and copied their URLs. It was a simple task finding my searches embedded in the URL. Note the %clipboard% reference in each line. You can probably guess that this is the place the “copy” was stored from line 2. I just put %clipboard% in place of the search strings I found in there.
- The fifth line? If you have no scripting or programming background, this just says, “Done, go back to whatever you were doing”
You can delete the Wikipedia portion out of the code if you’d like too.
Download the script here.
Found this script at the AHK forums and I thought it was pretty cool.
Description
Use this script to quickly switch to a window by its order on the Windows taskbar (it works with only the first 10 windows).

WIN+1 switches to the first window on the taskbar and WIN+2 the second, etc.
New June 13, 2009
WIN+- shows button numbers as tooltips.

Credits
Sean for his taskbar related code found here: http://www.autohotkey.com/forum/topic17314.html
Download the script here.
Now I know I made a post earlier about minimizing windows to the tray but this is another good script that’s straight off the AHK website.
Windows + H hides the window under the H icon in your system tray.
Windows + U unhides the window under the H icon in your system tray.
Download the script here.
This nifty script disables mouse and keyboard input to stop toddlers messing up your PC or to allow for cleaning or whatever else needs to be done at the time. Thanks to anonymous coder wr975.
Click the X to exit.
I had to Ctrl + Alt + Del to exit the program once but it works quite well otherwise.
Download the script here.
This is a script to put 2 files in the clipboard and compare, if they are the same, you have
the option to delete or keep them. If they are different, they are automatically
kept.
Note: Before you initiate the script, you need to have the file name and path in
your clipboard. This was created for use with comparing file from UltraEdit with
their backups. IE. the file in the pathway will have the same name, but with the
.bak extension added. I have an UltraEdit macro that I run first that does some
manipulations, saves the file and creates a backup and then inserts the
pathway/filename in the clipboard.
This one was submitted to us by the great Tessa Colbert. Thanks Tessa!
Download the script here.
I thought this script was kind of useful if you’re always looking at the clock constantly. Might get a bit annoying but I thought I’d post it for anyone who wants it!
“Shows the current time next to the mouse cursor, and date and more in the tray.”
Download the script here.