Author Topic: VirtuaNES  (Read 3942 times)

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 774
    • Email
VirtuaNES
« on: August 25, 2013, 09:35:31 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 ( "VirtuaNES")
  15.    Exit 0

Executable

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