Hello again!
I would like to use the follow script, except I would like to add an operator script. eg use ALT-ESC but I dont know how to code this in?
I would also like this script to run two programs and then terminate both with the same key combination, is this easily done?
Thanks for your help!
Updated!
I would like to use the follow script, except I would like to add an operator script. eg use ALT-ESC but I dont know how to code this in?
I would also like this script to run two programs and then terminate both with the same key combination, is this easily done?
HotKeySet("{ESC}", "Terminate") If $CmdLine[0] == 1 Then ProcessClose ( "XBMC.exe" ) Run ( '"H:\remotedesktop.exe" /e "' & $CmdLine[1] & '"', "H:\" ) While 1 Sleep(100) WEnd EndIf Func Terminate() ProcessClose ( "remotedesktop.exe" ) Run ( '"H:\Interface\xbmc\XBMC.exe"' ) WinWait ( "XBMC" ) WinActivate ( "XBMC" ) Exit 0 EndFunc
Thanks for your help!
Updated!