I would like to have Windows 8 automatically go back to the Metro Start Screen when I close a program or file as opposed to going back to desktop.
How can this be done?
You can achieve it using AutoHotKey. Install it, and create following 2 files:
After creating both files and adjusting the Path in the switcher.ahk file to the location of vbs you created. You just need to Run the Autohotkey file (i.e. switcher.ahk) and you are done.
This will count all windows (Excluding the Background Services and Processes) And If number of Windows Reduces it sends a Windows key press and switches to Modern-UI.
I'm using a VBS because for some reason Windows-8 doesn't take a Windows Key press from AHK.
Note: This script needs to be refined, sometimes it may behave unexpectedly, because it also counts the Context Menu and Notifications as new window. So when they are closed it sends a keypress.
If you create a VBS script file and use it to launch your target application, the following instructions will do as you require:
While it is not hard at all to press the "Windows" key after closing a program, it would make sense that if you start a program from the Metro Start Screen, you return to it afterwards. Especially if that is what you want to promote.
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?