Advertisement
Guest User

winkawaks.ini

a guest
Aug 10th, 2011
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. HotKeySet("{ESC}", "Terminate")
  2. $path = "E:\Emulators\Winkawaks\"
  3. $app = "winkawaks.exe"
  4.  
  5. If $CmdLine[0] == 1 Then
  6. $PID = Run( $path & $app & ' ' & $CmdLine[1] & ' -fullscreen', $path)
  7. While 1
  8. Sleep(100)
  9. WEnd
  10. EndIf
  11. Func Terminate()
  12. While ProcessExists ( $PID )
  13. ProcessClose ( $PID )
  14. WEnd
  15. Exit 0
  16. EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement