Search Prank

Here’s a small AutoHotKey script I wrote to play a prank on someone.

Basically you run it on the victim’s computer, and it simply waits until they open google in any web browser. As soon as google is opened, anything you specify in the script is searched before the victim realises.

Loop
{
WinGetActiveTitle ActWin
if Instr(ActWin, "Google") > 0
{
Sleep, 2000
Send, Some{SPACE}Stupid{SPACE}Search{SPACE}Term{ENTER}
break
}
}

One Response to “Search Prank”

  1. My Top 10 of Free Software « I should be working Says:

    [...] 3. Productivity – AutoHotKey Windows AutoHotKey is an essential tool to speed up any type of computer based work. Create hotkeys that do just about anything, and automate almost any task in Windows. There are plenty of existing scripts if you don’t have any programming experience (although the scripting language is very easy to learn), including global hotkeys for iTunes, code completion in any application, window detection, and even pranks. [...]

Leave a Reply