Jump to content

Wicked Whims Progress Command for AutoHotkey Tutorial


Chimz

Recommended Posts

Posted

The best (and in my opinion NECESSARY) feature of Wicked Whims was the progress sex button (default: F). However due to changes, the feature broke and there wasn't a way to implement it again. A few updates ago, Wicked Whims added the console command ``ww.progress_sex`` from user demand which does the same thing and mentioned it could be used with AutoHotKey Dash to get going.

I'm sure a lot of you have downloaded that program, tried to write the proper script but failed. Through the help of ChatGPT and Donte, I was able to write the script. Here's how to do it:

; Only active in Sims 4
#IfWinActive ahk_exe TS4_x64.exe

f::
    ; Open cheat console
    Send, ^+C
    Sleep, 100

    ; Type the command
    Send, ww.progress_sex
    Sleep, 100

    ; Press Enter
    Send, {Enter}
    Sleep, 50
    
    ; Close cheat console
    Send, ^+C
return

#IfWinActive

^+C opens the console by the default command Ctrl+Shift+C. Take note that the C is capital. If it was lowercase, it would just be Ctrl+c so Shift is lost.
The Sleep, 100 commands tell the code to wait. Basically since opening the console, inputing the command and other actions can take time to load, we tell the script to wait at each step to avoid inputing commands too early. The number is in miliseconds. Change it to suit your game. The slower your game the longer the sleep time should be.
I've set the hotkey as f just like default WW. If you want to change it, change the f:: to whatever you want. For example, if you want p, type p::

  • Now save it and open your game and get busy.
  • Alt+Tab to run the script and get back in the game. You might encounter an issue where the game would get minimized. I usually overcome it by pressing a bunch of buttons (including Esc) as soon as I get inside the game.
  • Now when you press the hotkey, it opens the console, types the command, enters it and closes it.
  • Keep in mind that pressing keyboard buttons while it is typing will interfere.
  • If the game gets paused and the Relationships window opens, do not worry. A minor misstep occured. Close the relationship window, unpause the game and try again.
  • If issues persist or you face other ones, try adjusting the Sleep times to make the process slower. If your PC is slow or you have too many mods, it can slow down the game and thus require longer wait times.
  • Once you quit the game and want to stop the script, open the Taskbar's Hidden Icons, right click on AutoHotKey and select quit.

 


Hope this helps. If you know other places where WW mod users are, freely share the script so others can enjoy it too 🍻

  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...