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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -