0 Replies Latest reply: Aug 19, 2013 7:54 AM by 996280 RSS

    Opening and closing osk form java program on windows 8

    996280

      Hi

      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");