Author Topic: Winkawaks  (Read 2880 times)

mgalaxy

  • Administrator
  • Hero Member
  • *****
  • Posts: 760
    • Email
Winkawaks
« on: November 04, 2014, 05:35:22 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. ;load application
  10. Runwait ( '"' & $app & '" ' & $command )
  11.  
  12. ;exit
  13.  
  14. ;*************************************
  15. ;functions
  16. Func Terminate()
  17.    Sleep(250)
  18.    Send("{Enter}")
  19.    Sleep(250)
  20.    Send("!+{F4}",0)
  21.    Exit 0
  22.  

Executable

http://www.mgalaxy.com/forum/index.php?action=downloads;sa=view;down=64
« Last Edit: November 04, 2014, 05:39:41 AM by mgalaxy »