Created
June 27, 2022 13:20
-
-
Save wamphlett/040bb808f04ef5a5b7cdac6ea8e3dc8b to your computer and use it in GitHub Desktop.
LEDBlinky Hooks Test
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
; set a specific animation | |
Run, C:\Ultracade\LEDBlinky\LEDBlinky.exe GameBoy.lwax |
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
; check if there is a prehook and run it | |
; expects first arg to be the event type. expects the second arg to be the system name | |
hookPath := "./" . A_Args[1] . "/" . A_Args[2] . ".exe" | |
if (FileExist(hookPath)) { | |
Sleep, 500 | |
Run, % hookPath | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment