derekDemara Posted 1 hour ago Posted 1 hour ago Hey guys, I currently have an ahk script running citra and ds4 windows. My problem is I would like the ds4 windows controller to turn off after exiting a game. the secondary are you sure you want to exit screen is not closing when I want to exit. below is my current ahk. Could you pleae help me with force closing ds4 windows? #SingleInstance Force Run, "Z:\LaunchBox\Emulators\citra\DS4Windows\DS4Windows.exe" Run, Z:\LaunchBox\Emulators\citra\citra-qt.exe "Z:\LaunchBox\Games\Nintendo 3DS\The.Legend.of.Zelda.A.Link.Between.Worlds.3ds" sleep, 2000 WinActivate, ahk_exe citra-qt.exe sleep, 1000 Send {F3 down} sleep, 100 Send {F3 up} $Esc:: { WinClose, ahk_exe citra-qt.exe WinClose, ahk_exe DS4Windows.exe } ; This waits for the confirmation window to appear and presses OK automatically WinWait, DS4Windows, This will disconnect all your connected controllers. Proceed? WinActivate Send, {Enter} Close: ExitApp Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.