I am using following code to show osk
os.system("C:\\PROGRA~1\\COMMON~1\\MICROS~1\\ink\\tabtip.exe")
this code open the osk successfully but when I try to close it using below code
os.system("TASKKILL /F /IM tabtip.exe")
It gives error of
ERROR: The process "TabTip.exe" with PID 10188 could not be terminated.
Reason: Access is denied.
This error is occurring because my script does not have admin rights but I don't understand why would I need it as I started the programs myself and also when normally when I use mouse to close the application it does not demand admin rights. Any idea on how can I solve it ....
Thanks for reading :)