Browse Source

added stuff, updated Outer Wilds script

ahk-v1
Mar Alegre 4 years ago
parent
commit
788a881ecc
  1. 4
      src/AutorunAutoclick.ahk
  2. 21
      src/Orcs Must Die.ahk
  3. 10
      src/Outer Wilds.ahk

4
src/AutorunAutoclick.ahk

@ -15,8 +15,8 @@
; Hold/Autoclick mouse buttons
; Holds if single click, autoclicks if double click
*!LButton UP::HoldOrRepeat("LButton",["RButton","MButton"])
*!RButton UP::HoldOrRepeat("RButton",["LButton","MButton"])
*!LButton UP::HoldOrRepeat("LButton",[])
*!RButton UP::HoldOrRepeat("RButton",[])
; Autorun
*!w UP::Hold("w",["s"])

21
src/Orcs Must Die.ahk

@ -0,0 +1,21 @@
; Script can be directly run by or compiled into an .exe by the open-source software AutoHotkey
; https://www.autohotkey.com
;
; Front Matter
;
; Include relevant libraries
#Include ../lib/Prelude.ahk
;
; Hotkeys
;
*RButton::
Send {RButton up}
Sleep 50
While GetKeyState("RButton","P") {
Send {LButton}
}
return

10
src/Outer Wilds.ahk

@ -32,6 +32,12 @@ Gui, Show, NoActivate x0 y0, StopwatchGui
WinSet, TransColor, Black 100, StopwatchGui
StopwatchHide()
; Send an F4 to activate fullscreen
Sleep 1000
Send {F4 down}
Sleep 100
Send {F4 up}
;
; Hotkeys
;
@ -43,6 +49,8 @@ StopwatchHide()
; Alt+F1: Show/Hide stopwatch
!F1::StopwatchToggleHidden()
#If StopwatchHidden
; F1: Reset stopwatch
F1::StopwatchReset()
@ -59,6 +67,8 @@ F4::StopwatchFastforward(5)
; Fine Controls
;
#If 1
; Reset all axes when capslock is pressed
~CapsLock::
MyXbox.Axes.LY.SetState(50)

Loading…
Cancel
Save