Add a button. how[]
http://wiki.openbravo.com/wiki/POS_-_Backup_MySQL_Database
Allow the button in the user profile[]
Go to - Admin - Maintanaince - Roles. Choose your role and add this in under buttons
<class name="button.keyboard"/>
Add this line in "Ticket. Buttons"[]
<button key="button.keyboard" image="img.keyboard" code="Script.keyboard"/>
Create a script called "Script. keyboard" and this as content.[]
Process p = Runtime.getRuntime() .exec("cmd /C start C:/WINDOWS/osk.exe");
restart unicenta.
tip: You can use any keyboard. to do this, change the path to the exe.
path is "C:/WINDOWS/osk.exe"
Windows 7
path is "C:/WINDOWS/system32/osk. exe"
have fun
Virtual Keyboard on Mac[]
The only difference is on the script. On Yosemite it has to be like this:
Process p = Runtime.getRuntime().exec(String[] "/System/Library/Input Methods/KeyboardViewer.app/Contents/MacOS/KeyboardViewer");