Author Topic: Snes9x  (Read 6057 times)

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 774
    • Email
Snes9x
« on: August 25, 2013, 09:34:58 AM »
Source code

Code: AutoIt
  1. ;Parsing
  2. Local $count = StringInStr($CmdLineRaw, ".exe", 0, 1, 1)
  3. local $app = StringLeft ( $CmdLineRaw, $count + 4 )
  4. local $command = StringTrimLeft( $CmdLineRaw, $count + 4 )
  5. if not $command then exit 0
  6.  
  7. HotKeySet("{ESC}", "Terminate")
  8.  
  9. Runwait ( '"' & $app & '" ' & $command )
  10.  
  11.  
  12. ;Functions
  13. Func Terminate()
  14.    WinClose ( "Snes9X")
  15.    Exit 0

Executable

http://www.mgalaxy.com/forum/index.php?action=downloads;sa=view;down=40
« Last Edit: August 25, 2013, 03:54:09 PM by mgalaxy »