I want to easily switch between speakers and headphones. Is this possible?
There are ways to switch the default audio device. However, because there is no published API for this, the techniques mostly involve hacks like trying to send keys, which is not very robust.
The API is kept closed and undocumented to avoid hardware incompatibilities so that manufacturers don't fight over it like the default home page on a browser. However, somebody has managed to switch audio devices on the command line in Windows 7, and in the comments WarNov has already "tested it in Windows 8. Works perfectly".
Remember that it is using an undocumented API, so may break in future versions of Windows.
The code is also published on GitHub as AudioEndPointController, with easy to understand documentation on how to use it:
It is also wrapped with PlaybackDevice [ Audio Output Switch ]
Well, a tile can be a shortcut to a batch file or a PowerShell file. Tapping the tile will execute the batch or PS file. That means you can create a tile to do JUST ABOUT anything in Windows.
Here's the CS technique:
The answer NOT marked as answer appears to be the solution for Windows 7/8.
This might be as good as it gets for this particular API, I am sorry to say.
Here's the shortcut technique: http://www.howtogeek.com/74331/how-to-create-your-own-windows-8-shortcuts-for-shutdown-perhaps/
Oh by the way, Windows RT devices have PowerShell, too