Spanky’s fav Autohotkey codes, part 2

On my aging Dell laptop, they provided a special “internet key”–it launched a browser when I first got the system. It’s akin to these guys in the silver oval:


But, as the user reinstalls Windows (over and over and over), this internet key becomes worthless. I don’t know why this happens exactly, but it’s obvious that the new installation doesn’t assign the same function to the key.

Using the kickass program, Autohotkey, we can restore its browser-launching capabilities.

1. Install Autohotkey. If you haven’t already, you’re an idiot. Just kidding. go and get it done.

2. Create and save a new script. (If you’re a noob, start here)

3. Follow these directions from their help file, with the subheading “List of Keys, Mouse Buttons, and Joystick Controls”:

If your keyboard or mouse has a key not listed above, you might still be able to make it a hotkey by using the following steps (requires Windows XP/2000/NT or later):

Ensure that at least one script is running that is using the keyboard hook. You can tell if a script has the keyboard hook by opening its main window and selecting “View->Key history” from the menu bar.
Double-click that script’s tray icon to open its main window.
Press one of the “mystery keys” on your keyboard.
Select the menu item “View->Key history”
Scroll down to the bottom of the page. Somewhere near the bottom are the key-down and key-up events for your key. NOTE: Some keys do not generate events and thus will not be visible here. If this is the case, you cannot directly make that particular key a hotkey because your keyboard driver or hardware handles it at a level too low for AutoHotkey to access. For possible solutions, see further below.
If your key is detectible, make a note of the 3-digit hexadecimal value in the second column of the list (e.g. 159).
To define this key as a hotkey, follow this example:
SC159:: ; Replace 159 with your key’s value.
MsgBox, %A_ThisHotKey% was pressed.

Ok, once you’ve done all that,you can now write a script to launch a browser. You can use mine:

Run C:\Program Files\Mozilla Firefox\firefox.exe
WinWait, My Yahoo!,
IfWinNotActive, My Yahoo!, , WinActivate, My Yahoo!
WinWaitActive, My Yahoo!,
WinMaximize, My Yahoo!

SC101 is the name of my Dell Inspiron 5150′s internet key–the name of your key might be different. The above script starts Firefox and activates it for me. One button press, baby, one press.

Of course, you should have all sorts of combos going in Autohotkey, but this is a good start. If you put in some time on the front end with Autohotkey’s learning curve, it will pay big dividends in the end.

Peace out, Napoleon.

-MC Spanky McGee

No Sound In Flash Videos When Using Firefox Solutions

I recently started having issues with sound on flash multimedia files on the internet while using one of my pc systems. I had just recently updated my Adobe Flash Player 9 files and assumed that was part of, if not all of the problem. I was also able to pinpoint MY problem to Firefox and not Internet Explorer 7.

I turned to Google and found that this problem is relatively widespread and found some possible solutions for the problem. I was able to fix my particular situation in the matter of a few minutes. There is a thread on in their forum that offers four possible solutions from user beezlebob666. The first involves replacing the Wavemapper driver that may have been lost or damaged in the installation or upgrade of the flash files. I checked to make sure mine was there and it was, had it not been there (and this was the problem), this particular fix takes only seconds. I would recommend backing up your registry before making any changes to it.

The second solution actually fixed my problem. Somehow I had damaged flash content on my system and this solution suggested downloading the CCleaner program (it is free) and removing cached flash content. I already had the program and all I did was set it (by checking boxes) to only scan for flash files and then deleting them once they were found. I restarted firefox and now I can hear my YouTube Viral Videos again.

The third fix is to replace your possibly missing or outdated codec. The easiest way to describe a codec is like this: your audio and video files are shrunk down to be sent quickly across the internet and you need the files to be un-shrunk to view or listen to them. To do this, you have to have a matching compressor and de-compressor. This fix is getting you the tool you need to de-compress these files. They suggest downloading and installing the K-Lite codec pack that too is free and simple to install.

The final fix is to essentially give up and revert back to the then Macromedia Flash Player 7 until you are able to figure out a way to make the latest flash player work for you. Some sites will not work for you as they require the use of the latest flash player, but then again some will and you may be willing to gain some working sites rather than none. Be sure to turn off automatic updating as this player will continually try to get the latest player.

Spanky’s fav Autohotkey codes: part 1.

Yeah, I’m a total dork for this, but I LOOOOVE Autohotkey. It’s a program that allows you to set up shortcuts for practically anything in Windows.

Download Autohotkey from

and learn how to write your first script. Here’s a good code to start:

IfWinNotActive, Soupy Trumpet, , WinActivate, Soupy Trumpet
WinWaitActive, Soupy Trumpet

The above bit of code opens a browser to when you hold the Windows key and push s. That’s pretty damned cool.


Need to close multiple windows of Firefox in a hurry? Try

SetTitleMatchMode 2
GroupAdd, Firefox, Firefox
WinKill, ahk_group Firefox

Windows key, shift and delete will close all the open Firefox windows for you–ya know, just in case in you’re about to get busted…

-MC Spanks

PS. Do a search at for some cool Autohotkey uses.