Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- This script exists to help people with repetitive strain injuries to their hands,
- by reducing the amount of double-clicks needed, as well as reducing the need to physically
- hold down a mouse button.
- If you hit 'k', your next mouse click will hold instead.
- Click again with the SAME button, or 'k', to stop holding.
- While holding with one button, you can click the other button without losing the hold.
- For a different keybind, change 'k' to a different letter or button below.
- See AHK documentation List of Keys for button names:
- https://www.autohotkey.com/docs/KeyList.htm
- ******************************************************
- MAKE SURE YOU TURN OFF "Reduce Hold on Items" IN GAME!
- ******************************************************
- ***********
- TO INSTALL,
- ***********
- download and install AutoHotkey from https://www.autohotkey.com/
- Then rightclick desktop, create new AHK script, and paste everything into it.
- You can then double click the script, every time you play SoT, or add a shortcut
- to the script into your Startup folder to have it start with Windows.
- */
- #NoEnv
- SendMode Input
- SetWorkingDir %A_ScriptDir%
- #If WinActive("ahk_exe SoTGame.exe") ;is Sea of Thieves focussed?
- ~k::
- toggle := !toggle
- if !toggle
- Send, {LButton Up}
- Send, {RButton Up}
- return
- #if toggle && WinActive("ahk_exe SoTGame.exe")
- $LButton::
- Send, {LButton Down}
- toggle := 0
- return
- $RButton::
- Send, {RButton Down}
- toggle := 0
- return
- #if
Advertisement
Add Comment
Please, Sign In to add comment