2012-07-09, 03:33
Nircmd fixed the problem with restoring focus. The only problem remaining is that I can still see the windows taskbar and the mouse cursor flash when closing the application for about a second and sometimes for like... half a second when launching. It's not perfect, but I think it might be as close to perfect as is possible with AutoIt and it's a serious improvement over what it was before. This problem doesn't happen when using the window function of XBMC, but for some reason it becomes really choppy in full screen window.