2012-08-16, 21:22
(2012-08-16, 20:41)myghalloween Wrote: Even when I try with Autoit, but nothing better :If the script suspend XBMC, start GameEx, and then restore XBMC, so there is no error in the script. You can try to modifiy your script like this :
PHP Code:Run ( 'C:\Windows\System32\PsTools\pssuspend.exe XBMC.exe' )
Run ( 'D:\GameEx\GameEx.exe' )
ProcessWaitClose ( 'GameEx.exe' )
Run ( 'C:\Windows\System32\PsTools\pssuspend.exe -r XBMC.exe' )
WinSetState ( 'XBMC', '', @SW_MAXIMIZE )
may be an error in the code ?
Code:
Run ( 'C:\Windows\System32\PsTools\pssuspend.exe XBMC.exe' )
Run ( 'D:\GameEx\GameEx.exe' )
ProcessWaitClose ( 'GameEx.exe' )
Run ( 'C:\Windows\System32\PsTools\pssuspend.exe -r XBMC.exe' )
WinSetOnTop ( 'XBMC', '', 1 )
WinSetState ( 'XBMC', '', @SW_MAXIMIZE )