Using that method, your JavaScript calls your Air app and your Air app then executes keyboardViewer (or the Windows equivalent). On Windows, substitute the following: n("C:\\WINDOWS\\system32\\osk.exe", ) Īn alternative is to write your own browser in something like Adobe Air. Now, you will be able to open the on-screen keyboard from Firefox with HTML like this: Ĭn("/Users/Oliver/Desktop/keyboardViewer", ) The name of the new preference you want to add is. Right click on the list of preferences and select New > String. To do this, go to about:config in the browser address bar. Before you can execute this from the add-on, you will need to add this command to the list of allowed commands. This add-on will allow you to execute OS commands (e.g. Next, you are going to have to execute this file (or Windows command) from a browser. On Windows, it is much easier to open the on-screen keyboard from the command line. Let's assume you've saved keyboadViewer onto the user's Desktop then the command you will want to execute is (as in my case): This will pop open the on-screen keyboard when executed. The output will be an executable file called keyboardViewer.
![virtual mac keyboard for windows virtual mac keyboard for windows](https://images.idgesg.net/images/article/2017/06/macbook-2017-keyboard2-100726396-large.3x2.jpg)
Make sure your build target is the same as the client Mac (e.g. In full-screen mode virtual keyboard automatically resizes to fit the width of the screen when invoked. Instructions for both platforms are as follows.įor Mac, download and build this Xcode project: You can change size, color and transparency of keyboard with one click at any time. Set up your browser to allow the command line to be executed from JavaScript.
![virtual mac keyboard for windows virtual mac keyboard for windows](https://help.apple.com/assets/5FFC9995A591642D7264E8CD/5FFC9999A591642D7264E8E4/en_US/c0d468d27c38dc59c7542446cd6b5b83.png)
VIRTUAL MAC KEYBOARD FOR WINDOWS HOW TO
Know how to open the on-screen keyboard from command line.OK, I've tested this locally on my own Mac (version 10.6.8) and Windows XP so the good news is that it works (and it is surprisingly easy).