Update:
Here’s a version that works for every resolution (reads resolution dynamically):
shift := 0
1::
WinGetActiveStats, Title, Width, Height, X, Y
MouseMove, shift + Width/2, Height/2
shift := shift ^ 1
Sleep, 10
Send {Click, right}
Return
One more thing - don’t bind ‘1’ to Square (A in Xbox controllers) since in my case it opens Game Menu if you tap the button > 1 times for some reason. others buttons don’t do this.
My next toon is going to be ranged lightning Vindicator so I’ll probably use this script as well.