;
; Front Matter
;

; Include relevant libraries
#Include "../lib/Prelude.ahk"
#Include "../lib/HoldRepeat.ahk"

; Make this a wrapper script
WrapperPath:="steam://rungameid/413150"
WrapperTitleMatchMode:=2
WrapperWindow:="Stardew Valley 1.6.8 - running SMAPI"
#Include "../lib/Wrapper.ahk"

;
; Hotkeys
;

*XButton2::{
    Send "{Blind}{RButton}"
    Sleep 10
    Loop 8 
    {
        Send "{Blind}{LButton}"
    }
}

; Alt to hold or repeat mouse buttons
*!LButton UP::HoldOrRepeat("LButton",["RButton","MButton"])
*!RButton UP::HoldOrRepeat("RButton",["LButton","MButton"])