Lazy Galaxy 2: How to Set Auto Clicker with AutoHotkey

Hold space to automatically click

 

Intro

Use this script with the free program Autohotkey:

https://www.autohotkey.com

When the script is run, hold [space] to automatically click at a very rapid pace.

Works best with the Scavenger guild. Can also be used to collect health packs in battle a bit faster (hold space and hover over them)

Autoclicker Script

To use this, copy and paste it into a file with the extension .ahk. You can name it whatever you like, I called mine:

LazyGalaxy2–LMB-While-Holding-Space.ahk

Next, double-click that new file to start running the script. If successful, you’ll see the Autohotkey icon in your system tray (ie. in the bottom right, near the clock).

The script is only run while Lazy Galaxy 2 is in focus.

#IfWinActive ahk_exe LazyGalaxy2.exe
Space::
    while GetKeyState("Space","P")
    {
        Send {LButton}
        sleep 10
    }
Return
#IfWinActive

Bonus: Autopress 1

Here’s a bonus script. Holding [TAB] during a battle will press the [1] key repeatedly. It’s meant for auto-firing your special weapons, so make sure you have the ship with the special you want to use at the top of your hanger.

It’s a bit redundant since an ascension upgrade offers something similar, but with the upgrade you have to keep pressing the number key for it to trigger again, and holding shift may be a bit cumbersome for some people.

Usage is the same as above. I named my file:

LazyGalaxy2–1-While-Holding-Tab.ahk

#IfWinActive ahk_exe LazyGalaxy2.exe
Tab::
    while GetKeyState("Tab","P")
    {
        Send {1}
        sleep 10
    }
Return
#IfWinActive

Thanks to darkly77  for his great guide, all credit to his effort. you can also read the original guide from Steam Community. enjoy the game.

Post Author: Robins Chew

Leave a Reply

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