UnicentaPOS Help Wiki
Advertisement

Add a button. how

http://wiki.openbravo.com/wiki/POS_-_Backup_MySQL_Database

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.

Runtime runtime = runtime.getRuntime ();
 Process proc = runtime. 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

Advertisement