0 Replies Latest reply on Aug 19, 2013 12:54 PM by 996280

    Opening and closing osk form java program on windows 8



      I want to open Osk when ever I click on any text field in windows 8.


      I tried in below mentioned way to open and close but it is usefull. could some body help in opening and closing osk properly on windows 8

      Opening OSK:

      builder = new ProcessBuilder("cmd /c " + sysroot + " /System32/osk.exe");


      Closing Osk:

      Runtime.getRuntime().exec("taskkill /f /im osk.exe");