I am creating a touch screen project through "Python Card". To fill data in a text box, can I bring the Windows on-screen keyboard to my program instead of creating a soft keyboard myself?
I am trying to get the Windows on-screen keyboard using PyWin32, but it doesn't execute properly.
Are there better ways to get this keyboard functionality into my application?
Please help me out.
import os
os.system("osk")
This will invoke the on screen keyboard, active for the window that invokes it.
来源:https://stackoverflow.com/questions/9988855/how-to-access-windows-on-screen-keyboard-accessory-through-python