;Kill Emulatorfunc EndProg() send ("!{ENTER}") sleep (1000) send ("{ENTER}") sleep (1000) send ("!{F4}") Sleep (500) ExitEndFunc; Define Kill KeyHotKeySet ("{Esc}", "EndProg"); Read Game Related Settings$ini_01 = IniRead( $CmdLine[1] , 'GAM' , 'Name' , '' ); Launch EmulatorRun ( '"' & @ScriptDir & '\WinKawaks.exe" ' & $ini_01 & ' -fullscreen' ); Time just keeps on slipping into the future :)While 1 Sleep (100)WEndExit