u/Brassy_Actual

Harvesting Quickly with AutoHotkey

Hi!

Spam clicking E to gather things is a complaint I've seen (and made) pretty frequently. Based on an older post, I downloaded AutoHotkey (https://www.autohotkey.com/) to put together a little button to solve this.

What I wanted: Press F2 to spam press E until I press F2 again to turn it off.

How I did it:

  1. Download AutoHotkey and run it.

  2. Click New Script, choose a location to save the script.

  3. Navigate to the folder you selected and open the script with notepad.

  4. Paste this script in and save it.

#MaxThreadsPerHotkey 2
$F2::
Toggle := !Toggle
if (Toggle)
    SetTimer, PressE, 100
else
    SetTimer, PressE, Off
return


PressE:
Send, {e down}
Sleep, 20  ; Holds the key down briefly so the game registers it
Send, {e up}
return
  1. Go back into the folder and double click the .ahk file to run it.

  2. Press F2 in game to toggle it on/off.

edit: took a few tries for me to figure out how to paste a block of code in reddit, but i copied and pasted the current version and it works just fine.

reddit.com
u/Brassy_Actual — 12 days ago