2013-04-28, 03:05
(2013-04-27, 22:25)Angelscry Wrote:(2013-04-27, 21:36)sagaopc Wrote:What is not working? What looks like your autoit script? Which application do you want to start?(2013-04-27, 18:06)Angelscry Wrote: That's not Advanced launcher which manage directly this, but you will have different way to do it :
- If it is possible, redefine your applications (emulators, PC games) key controls settings to close them using a specific key (like ESC).
- Start your application using a script (like autoit) that will force your application to be closed by by pressing a specific key (like ESC). Here is an example : http://www.gwenael.org/forum/viewtopic.php?id=43
- Or, last possibility, setup your system with a key/button logger application (autoit, lirc, etc...) that will close all possible running applications when you will press a specific key or remore button.
I try autoit script, but doesn't Work!
HotKeySet("{ESC}", "Terminate")
If $CmdLine[0] == 1 Then
ProcessClose ( "XBMC.exe" )
Run ( '"D:\Atomiswave\demul057\demul.exe" "' & $CmdLine[1] & '"', "D:\Atomiswave\demul057\" )
While 1
Sleep(100)
WEnd
EndIf
Func Terminate()
ProcessClose ( "demul.exe" )
Run ( '"C:\Program Files (x86)\XBMC\XBMC.exe"' )
Exit 0
EndFunc
didn't work with any emulators if i try!
i have autoit and autohotkey installed here!