Tired of not being able to hold left mouse click to farm those copper deposits? Here’s a solution!

Hello!

I think we all got frustrated at some point that we can't hold left click to farm trees or those big copper nodes. Got a nice solution for that!

I created a script which sends left mouse clicks to Valheim continuously so we don't destroy our mouse when farming. This will not hijack your mouse, it will just send "virtual" mouse clicks to Valheim.

Here's the code:

LAlt::Pause

f10::
Loop {
ControlClick,, Valheim,, Left, 1, NA
}

To be able to run it:

  1. Install Autohotkey – https://www.autohotkey.com/
  2. Copy the code above to Notepad or any text editor
  3. Save it as your_name.ahk
  4. Run it
  5. Press f10 once to activate
  6. Use Left Alt to pause or unpause the script. I used Left Alt as it is favorable to me, but you can change that key to anything else. Here's a list with all the keys: https://www.autohotkey.com/docs/KeyList.htm

This will only work in the Valheim window (even when it is minimized/in the background).

Extra usage: You can use this to level up skills while doing something else. For example equip a mace, go to a tree, activate the script and increase your Club skill while Valheim is minimized!

Hope it will be of use to you boys & gals. Have a nice day!

Source: https://www.reddit.com/r/valheim/comments/m95nmw/tired_of_not_being_able_to_hold_left_mouse_click/

leave a comment

Your email address will not be published. Required fields are marked *