Zurück zum Portfolio

🎮 Sims 4 WickedWhims AutoHotkey Script

Version 1.0.0AutoHotkey v2Open Source (MIT)

📝 Über das Projekt

Ein AutoHotkey v2 Script zur Automatisierung von WickedWhims-Befehlen in The Sims 4. Das Script ermöglicht es, Animationen per Tastendruck zu wechseln und die Spielzeit zu pausieren, ohne manuell die Konsole öffnen zu müssen.

✨ Features

  • F / F10 - Führt ww.progress_sex Command aus (nächste Animation)
  • ^ (Caret-Taste) - Pausiert die Spielzeit (Speed 0)
  • Auto-Detection - Nur aktiv wenn The Sims 4 läuft (TS4_x64.exe)
  • 350ms Debounce - Verhindert versehentliche Mehrfach-Eingaben
  • Error Handling - Try-Catch Blöcke für robuste Ausführung
  • Clipboard Safety - Stellt deine Zwischenablage automatisch wieder her

📥 Installation

1. AutoHotkey v2 installieren

Lade AutoHotkey v2 herunter und installiere es.

2. Script herunterladen

Lade wickedwhimsprogres.ahk vom GitHub Repository herunter.

3. Script ausführen

Doppelklick auf die .ahk Datei oder füge sie zu deinem Windows-Autostart hinzu.

⚙️ Voraussetzungen

  • AutoHotkey v2.0 oder höher
  • The Sims 4
  • WickedWhims Mod installiert

🎯 Verwendung

  1. Starte The Sims 4
  2. Führe das AutoHotkey Script aus
  3. Drücke F oder F10 während WickedWhims-Animationen laufen
  4. Drücke ^ (Caret) (links von der "1" Taste) um die Zeit zu pausieren

🔧 Wie es funktioniert

Das Script automatisiert folgende Schritte:

  • Erkennt automatisch wenn Sims 4 aktiv ist (TS4_x64.exe)
  • Öffnet die Spiel-Konsole (Strg+Shift+C)
  • Fügt den WickedWhims-Befehl ein
  • Schließt die Konsole
  • Stellt deine Zwischenablage wieder her
RunWWProgress() {
  // Clipboard sichern
  clipSaved := A_Clipboard
  
  try {
    // Konsole öffnen
    SendEvent("^+c")
    // Command einfügen
    A_Clipboard := "ww.progress_sex"
    SendEvent("^v")
    // Enter & Konsole schließen
    SendEvent("{Enter}")
    SendEvent("{Esc}")
  } finally {
    // Clipboard wiederherstellen
    A_Clipboard := clipSaved
  }
}

🛡️ Error Handling

  • Try-Catch für Fenster-Erkennung
  • Clipboard-Validierung mit Timeout
  • Automatische Clipboard-Wiederherstellung
  • Visuelles Feedback via Tooltips

⚠️ Disclaimer: Dies ist ein inoffizielles Automatisierungs-Tool. Nutzung auf eigene Gefahr. Nicht verbunden mit EA Games oder TURBODRIVER.

📄 Lizenz

MIT License - Frei zu verwenden, zu modifizieren und zu teilen!

👨‍💻 Autor

BlackMautz - Website

🎮 Sims 4 WickedWhims AutoHotkey Script

Version 1.0.0AutoHotkey v2.0Open Source (MIT)

📝 About the Project

An AutoHotkey v2 script that automates WickedWhims commands in The Sims 4. Press F or F10 to switch animations, ^ to pause time - simple, fast, secure.

✨ Features

⌨️ F / F10 Hotkey

Execute ww.progress_sex command - next animation

⏸️ Time Pause

^ (Caret key) pauses game time (Speed 0)

🎯 Auto-Detection

Only active when Sims 4 is running

🛡️ Error Handling

Try-Catch blocks & clipboard safety

🔧 How It Works

The script automatically:

  • Detects when Sims 4 is active (TS4_x64.exe)
  • Opens the game console (Ctrl+Shift+C)
  • Injects the WickedWhims command
  • Closes the console
  • Restores your clipboard

📥 Installation

1. Install AutoHotkey v2

Download and install AutoHotkey v2.0

2. Download Script

Download wickedwhimsprogres.ahk from GitHub

3. Run Script

Double-click to run or add to Windows startup

⚙️ Requirements

  • ✅ AutoHotkey v2.0 or higher
  • ✅ The Sims 4
  • ✅ WickedWhims mod installed

🎯 Usage

  1. Start The Sims 4
  2. Run the AutoHotkey script
  3. Press F or F10 during WickedWhims animations to progress
  4. Press ^ (Caret, left of "1" key) to pause time

🛡️ Error Handling

  • Try-Catch for window detection
  • Clipboard validation
  • Automatic clipboard restoration
  • Visual feedback via tooltips
  • 350ms debounce protection

💻 Code Example

#Requires AutoHotkey v2.0 IsSimsActive() { try { return WinActive("ahk_exe TS4_x64.exe") } catch { return false } } ; F or F10 for next animation F::RunWWProgress() F10::RunWWProgress()

📄 License

MIT License - Feel free to modify and share!

👨‍💻 Author

BlackMautz - Website

⚠️ Disclaimer

This is a third-party automation tool. Use at your own discretion. Not affiliated with EA Games or TURBODRIVER.