Skip to content
TheChatArchiveThe Chat Archive
Geminigemini-2.5-pro· GoogleHugging Face LMArena Human Preference 140K

fun (or silly (or cute)) ahk scripts

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Claudeclaude-3-7-sonnet-20250219-thinking-32k’s answer.
  1. User

    fun (or silly (or cute)) ahk scripts

  2. Gemini Assistant

    Of course! AutoHotkey is perfect for creating little scripts that add a bit of personality, fun, or harmless chaos to your computer. Here are some fun, silly, and cute AHK scripts, ranging from simple to slightly more complex.

    A Very Important Note Before You Begin: Always know how to stop a script! The easiest way is to find the green 'H' icon in your system tray (bottom right of your screen), right-click it, and choose "Exit". I'll also include a dedicated "panic button" hotkey (Ctrl+Alt+X) in most of these scripts.


    1. The Compliment Generator (Cute)

    This script gives you a nice, random compliment whenever you press a hotkey.

    How it Works: It uses a list (an array) of compliments and picks one at random to show in a message box.

    The Script:

    ; === The Compliment Generator ===
    ; Press Ctrl+Alt+C to get a random compliment.
    
    ^!c::
    Compliments := [ "You're doing a great job!"
                   , "You have a fantastic smile."
                   , "You're even smarter than you look!"
                   , "Is it bright in here, or is it just you?"
                   , "You are a ray of sunshine."
                   , "Any team would be lucky to have you."
                   , "You're awesome!"]
    
    Random, rand, 1, Compliments.MaxIndex() ; Pick a random number
    MsgBox, 64, A Little Boost, % Compliments[rand] ; Show the compliment
    return
    
    ; --- Panic Button to exit the script ---
    ^!x::ExitApp
    

    How to Customize:

    • Add your own compliments to the list! Just add a new line starting with a comma and your text in quotes.

    2. The Shakespearian Typer (Silly)

    This script automatically replaces modern words with their "olde-timey" equivalents as you type. Great for adding some dramatic flair to your emails.

    How it Works: It uses Hotstrings. A hotstring watches for you to type a specific word and then replaces it automatically.

    The Script:

    ; === The Shakespearian Typer ===
    ; Just type normally, and some words will be magically transformed.
    
    ; The star * means it will trigger even if it's inside another word.
    ; The question mark ? means it will trigger even if you're in the middle of a word.
    :?*C:you::thee
    :?*C:your::thy
    :?*C:are::art
    :?*C:hello::good morrow
    :?*C:why::wherefore
    :?*C:maybe::perchance
    :?*C:because::for
    :?*C:omg::gadzooks
    
    ; --- Panic Button to exit the script ---
    ^!x::ExitApp
    

    How to Customize:

    • Add your own word pairs! The format is ::word_to_type::word_to_replace_it_with::. Look up a "Shakespearean translator" online for more ideas.

    3. The Wobbly Mouse (Harmless Prank)

    This is a classic. Activate this script, and the mouse cursor will start to gently wobble and drift, making precise clicking a fun challenge. Use with caution on friends!

    How it Works: A hotkey F12 acts as a toggle. When turned on, a SetTimer runs a small piece of code every 50 milliseconds that moves the mouse by a tiny, random amount.

    The Script:

    ; === The Wobbly Mouse ===
    ; Press F12 to toggle the mouse wobble on and off.
    
    F12::
        wobble_on := !wobble_on  ; This flips the variable between true and false
        if (wobble_on)
        {
            SetTimer, WobbleTheMouse, 50
            ToolTip, Wobbly Mouse: ON
        }
        else
        {
            SetTimer, WobbleTheMouse, Off
            ToolTip, Wobbly Mouse: OFF
        }
        SetTimer, RemoveToolTip, -1000 ; Remove the tooltip after 1 second
    return
    
    WobbleTheMouse:
        Random, randX, -5, 5
        Random, randY, -5, 5
        MouseMove, randX, randY, 10, R  ; Move mouse relative (R) to its current position
    return
    
    RemoveToolTip:
        ToolTip
    return
    
    ; --- Panic Button to exit the script ---
    ^!x::ExitApp
    

    How to Customize:

    • Change the numbers in Random, randX, -5, 5 to make the wobble bigger or smaller.
    • Change SetTimer, WobbleTheMouse, 50 to a smaller number (like 20) for faster wobbling, or a larger number (like 200) for slower drifting.

    4. Bongo Cat (Cute)

    This script shows two images of a cat. When you press keys on your keyboard, the cat's paws move, making it look like it's typing or playing the bongos along with you.

    How it Works: This is more advanced, using AHK's GUI feature. It creates two small windows with images and uses the OnMessage function to detect any keyboard input.

    Setup:

    1. Save the two images below in the same folder as your script.
    2. Name them cat_up.png and cat_down.png.
    • cat_up.png:

    • cat_down.png:

    The Script:

    ; === Bongo Cat ===
    ; Creates a "Bongo Cat" on your screen that types when you do.
    
    #SingleInstance Force
    #Persistent
    
    ; --- GUI Setup ---
    Gui, Add, Picture, vCat, cat_up.png
    Gui, -Caption +ToolWindow +AlwaysOnTop
    Gui, Show, x100 y100 NoActivate, BongoCat
    
    ; --- Detect Keystrokes ---
    OnMessage(0x100, "WM_KEYDOWN") ; For key presses
    OnMessage(0x101, "WM_KEYUP")   ; For key releases
    
    return ; End of auto-execute section
    
    WM_KEYDOWN() {
        GuiControl,, Cat, cat_down.png
    }
    
    WM_KEYUP() {
        GuiControl,, Cat, cat_up.png
    }
    
    ; --- Drag the cat around with Alt + Left Click ---
    !LButton::
        PostMessage, 0xA1, 2,,, A
    return
    
    ; --- Panic Button to exit the script ---
    ^!x::ExitApp
    

    5. The "Nope" Button (Silly Prank)

    This script prevents a user from closing a window with the mouse. When they move the cursor over the [X] button and click, it says "Nope!" and moves the mouse away.

    How it Works: This script creates a hotkey for the Left Mouse Button (~LButton). When you click, it checks the mouse's position. If it's in the top-right corner of the active window (where the close button usually is), it triggers the prank.

    The Script:

    ; === The "Nope" Button ===
    ; Tries to prevent closing windows with the mouse.
    
    ~LButton::
        MouseGetPos, mX, mY, winID
        WinGetPos, wX, wY, wW, wH, ahk_id %winID%
        
        ; Check if mouse is in the top-right corner area
        if (mX > wX + wW - 50 && mY < wY + 35)
        {
            ToolTip, Nope!
            MouseMove, wX + 100, wY + 100, 20 ; Move mouse away
            SetTimer, RemoveToolTip, -800
        }
    return
    
    RemoveToolTip:
        ToolTip
    return
    
    ; --- Panic Button to exit the script ---
    ^!x::ExitApp
    

    Have fun, and remember to be a kind and responsible script-wielding wizard

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.