Kodi Community Forum

Full Version: Keyboard focus issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've had trouble with XBMC locking up and not responding lately so I'm trying to come up with a way to kill and relaunch it without having to ctrl-alt-delete, bring up the task manager, kill xbmc.exe and then relaunch the app. I've written a simple batch script to tackle this and assigned it to be run with the "F7" keystroke.

When in windowed mode the batch effectively kills XBMC and relaunches it but when XBMC is in fullscreen mode it steals keyboard focus so I can't launch the batch file to relaunch XBMC when I need to.

Is there a way to either tell XBMC to ignore a keystroke or another way to effectively do this?

Thanks,
Rob
I doubt it. But more importantly, isn't a better option just to figure out what's causing XBMC to crash?

I say this because if the app that stole keyboard focus has just crashed, how can it pass on the keystroke to your batch file?