I've been looking around for a way to control the placement of the Windows On-Screen Keyboard via script. After a lot of searching (and a lot of failed VBScripts) I came across this tool.
The only problem is, Set-WindowPosition doesn't seem to work with the OSK window.
In other words, the following command works:
select-window notepad | select -first 1 | set-windowposition -x 600 -y 200
But this one does not:
select-window osk | select -first 1 | set-windowposition -x 600 -y 200
It does, however, pull up the OSK if it had been minimized, which I guess is nice (it cuts out a step in the script).
In addition, I can close the window just fine using:
select-window osk | select -first 1 | remove-window
Can anyone tell if I'm doing something wrong or if I want is even possible?