2012-07-01, 00:20
If I remove the terminate function from the script, how would I go about keeping the portion of the script instructing AutoIt to restore XBMC from suspend mode when nestopia is closed? Since these lines are part of the terminate function:
Func Terminate()
ProcessClose ( "nestopia.exe" )
Run ( 'pssuspend -r "XBMC.exe"')
Exit 0
EndFunc
Where should I put them?
Func Terminate()
ProcessClose ( "nestopia.exe" )
Run ( 'pssuspend -r "XBMC.exe"')
Exit 0
EndFunc
Where should I put them?