Created
May 11, 2020 02:58
-
-
Save smolgumball/b3ca85adeea85d58ca32360f542fe2a0 to your computer and use it in GitHub Desktop.
Destiny 2 Photo Utilities (Pan Camera Left, Pan Camera Right, and Hide Weapon)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Recommended for performance and compatibility with future AutoHotkey releases. | |
#NoEnv | |
; Recommended for new scripts due to its superior speed and reliability. | |
SendMode Input | |
; Ensures a consistent starting directory. | |
SetWorkingDir %A_ScriptDir% | |
; | |
#MaxThreadsPerHotkey 2 | |
; Press F8 to pan your game camera slowly to the left | |
F8:: | |
ToggleF8 := !ToggleF8 | |
if ToggleF8 { | |
GoSub, F8Loop | |
} else { | |
SetTimer, F8Loop, off | |
} | |
return | |
F8Loop: | |
if ToggleF8 { | |
MouseMove, -1, 0, 0, R | |
SetTimer, F8Loop, -25 | |
} | |
return | |
; Press F8 to pan your game camera slowly to the right | |
F9:: | |
ToggleF9 := !ToggleF9 | |
if ToggleF9 { | |
GoSub, F9Loop | |
} else { | |
SetTimer, F9Loop, off | |
} | |
return | |
F9Loop: | |
if ToggleF9 { | |
MouseMove, 1, 0, 0, R | |
SetTimer, F9Loop, -25 | |
} | |
return | |
; Press to swap between weapons 1 and 2, essentially hiding the weapon completely | |
F10:: | |
ToggleF10 := !ToggleF10 | |
loop, 1000 | |
{ | |
If !ToggleF10 | |
break | |
Send 1 | |
Sleep, 100 | |
Send 2 | |
Sleep, 100 | |
} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment