Author Topic: 1964/1964 UltraFast  (Read 4120 times)

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 774
    • Email
1964/1964 UltraFast
« on: December 02, 2013, 03:20:29 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. $PID = Run ('"' & $app & '" ' & $command)
  10.  
  11.    sleep(500)
  12.  
  13.  
  14. ;functions
  15. Func Terminate()
  16.    While ProcessExists ( $PID )
  17.       ProcessClose ( $PID )
  18.    WEnd
  19.    Exit 0

Executable

http://www.mgalaxy.com/forum/index.php?action=downloads;sa=view;down=61
« Last Edit: October 02, 2015, 12:29:05 PM by mgalaxy »