Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HotKeySet("{ESC}", "Terminate")
- $path = "E:\Emulators\Winkawaks\"
- $app = "winkawaks.exe"
- If $CmdLine[0] == 1 Then
- $PID = Run( $path & $app & ' ' & $CmdLine[1] & ' -fullscreen', $path)
- While 1
- Sleep(100)
- WEnd
- EndIf
- Func Terminate()
- While ProcessExists ( $PID )
- ProcessClose ( $PID )
- WEnd
- Exit 0
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement