Skip to content

Instantly share code, notes, and snippets.

@wamphlett
Created June 27, 2022 13:20
Show Gist options
  • Save wamphlett/040bb808f04ef5a5b7cdac6ea8e3dc8b to your computer and use it in GitHub Desktop.
Save wamphlett/040bb808f04ef5a5b7cdac6ea8e3dc8b to your computer and use it in GitHub Desktop.
LEDBlinky Hooks Test
; set a specific animation
Run, C:\Ultracade\LEDBlinky\LEDBlinky.exe GameBoy.lwax
; 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