2012-03-02, 22:23
dirtymurt Wrote:it now launches fine, but on 'esc' it errors,Oupsss.. I miss this one :
Line 11 (file "c:\users\user\desktop\autoit.exe"):
error: error parsing function call
Code:
If $CmdLine[0] == 1 Then
ProcessClose ( "XBMC.exe" )
Run ( '"C:\Program Files\Dolphin-win-x64-v3.0-424\Dolphin.exe" /b /e "' & $CmdLine[1] & '"', "C:\Program Files\Dolphin-win-x64-v3.0-424\" )
While 1
Sleep(100)
WEnd
EndIf
Func Terminate()
ProcessClose ( "dolphin-emu.exe" )
[b]Run ( '"C:\Program Files (x86)\XBMC\XBMC.exe " -p' )[/b]
Exit 0
EndFunc