2012-08-31, 23:36
hi.
if somebody out there could please make me an autohotkey script that minimizes the xbmc window whenever i launch a game, and restores it when the game exits, i would appreciate it.
i have been pulling my hair out and grinding my teeth trying to figure out how to do this.
my last attempt was to replace launching the games themselves with launching a script for each game set to minimize xbmc, launch the game, and restore xbmc when the game has quit. unfortunately, dispite using WINWAITCLOSE in conjunction with WINRESTORE, i am unable to get this to work on the first game i tried (fable), even though for some reason THE EXACT SAME CODE (with changes only to the program path and the window title) works to minimize xbmc, launch firefox, and restore xbmc when i close firefox
i have no earthly clue why the f*k i cant get it to work with fable and im not even going to try the rest of my games until i understand (which i am sure i never will grasp what the hell the problem is)
so thanks in advance to anyone who can help me out here
if somebody out there could please make me an autohotkey script that minimizes the xbmc window whenever i launch a game, and restores it when the game exits, i would appreciate it.
i have been pulling my hair out and grinding my teeth trying to figure out how to do this.
my last attempt was to replace launching the games themselves with launching a script for each game set to minimize xbmc, launch the game, and restore xbmc when the game has quit. unfortunately, dispite using WINWAITCLOSE in conjunction with WINRESTORE, i am unable to get this to work on the first game i tried (fable), even though for some reason THE EXACT SAME CODE (with changes only to the program path and the window title) works to minimize xbmc, launch firefox, and restore xbmc when i close firefox
i have no earthly clue why the f*k i cant get it to work with fable and im not even going to try the rest of my games until i understand (which i am sure i never will grasp what the hell the problem is)
so thanks in advance to anyone who can help me out here