2015-12-01, 00:19
The uncompiled script is bundled with the add-on and is on git hub too (link in first post). Looking at the metro launcher you'd need to add a line to kill kodi (line with taskkill in my script), a method to detect the metro app is running and restarting kodi (use the ahk function Run). I'm not familiar with metro apps, but you could try the ahk function RunWait which waits for the process to exit before continuing with the script, or WinWaitClose which waits for a window to be closed before continuing.