c# - Detect if On Screen Keyboard is open -
i deteck if osk.exe process (on screen keyboard) open.
it's code open osk:
process.start("c:\\windows\\system32\\osk.exe");
do have ideas how can check , prevent launch twice , more process ?
you running process name below:
var arrprocs = process.getprocessesbyname("osk"); if (arrprocs.length == 0) { process.start("c:\\windows\\system32\\osk.exe"); }
Comments
Post a Comment