Categories: GuidesValheim

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!

Gamer

Share
Published by
Gamer

Recent Posts

Ledx have been so hard for me this wipe

Not being able to craft them sucks. Especially when everyone I talk to about it…

11 months ago

My interesting and unfortunate Gwent life

First I'd like to say I absolutely love this game it's quality. Basically I first…

11 months ago

Teacher Tuesday 12/Dec/2023 – ask your questions here!

Welcome to Teacher Tuesday, a thread where anyone can ask any type of question without…

11 months ago

This games balance is confusing

I’m kind of new/returning to gwent I played beta and obviously it’s a lot lot…

11 months ago

Summary of 10 Days of Draws from Chaffee’s Bundles

Level 1 Bag (Free with Atmosphere Level 2) 6 small consumable (First Aid, Repair, Fire…

11 months ago

Why is my crew at 135%?

Here's my crew - T34-85M - for the life of me I cant figure out…

11 months ago