That works, if you consider a manual solution:
1) Starting and stoping the Win8 virtual keyboard, and only the keyboard:
I put two commands into two batch-files:
"net start TabletInputService"
"net stop TabletInputService"
2) Creating Shortcuts
I created two shortcuts and attached them to the taskbar
3) Playing tricks on the UAC
Now you are stuck with the UAC. You can create an elevated task in the task scheduler and call that, but its complicated. I personally used a software to create an "elevated shortcut" in step two. There are some out there, e.g. "Elevated Shortcut".
But of course you would have to trust such a program. :-( I do. ;-|
This is not cool, but it works.
Problably you can check the service's state and create a batch file toggling it. So there would be only on shortcut left. I did not try that, instead i wrapped that in a little C#-Programm.
Well, might be for my vaio duo 11, Sony itself should have provided such a program, because it is their keyboard. Microsoft did so for theirs' on the surface, as I mentioned above. Actually I don't know if there is a standard API to check if an
perferred keyboard is in typing position.
Greetings,
Frank