Hi,
I'm running this scrip on my cab to launch SF IV :
#NoEnv
SendMode Input
SetWorkingDir C:\Program Files\CAPCOM\STREETFIGHTERIV\
Blockinput on
SetBatchLines -1
Gui +AlwaysOnTop -Caption +ToolWindow
Gui Color, 0
;Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE
Run, SF4Launcher.exe, , Max
WinWait, STREET FIGHTER IV LAUNCHER
IfWinNotActive, STREET FIGHTER IV LAUNCHER
WinWaitActive, STREET FIGHTER IV LAUNCHER
Send, {enter}
Blockinput off
Process, WaitClose, StreetFighterIV.exe
return
ESC::
Process, Close, StreetFighterIV.exe
ExitAPP
return
But every time I exit the game, I find myself stuck on a black screen with my AHK script running in the background with no intention to stop by himself : I mus use the task manager to quit ...
Any ideas ?...