Keyboard execute code Unicenta opos
Hi, I am using a Point of Sale software called Unicenta POS
I can create a button in the POS to execute the oncoard keyboard via a script since the POS is in full screen.
The windows On Screen Keyboard script would be :
echo Starting Keyboard...
"C:/WINDOWS/
How would I do the same for Linux
Closing the keyboard is easy, just click "X"
Much appreciated !
Jimmy
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Onboard Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Francesco Fumanti
- Solved:
- 2014-10-13
- Last query:
- 2014-10-13
- Last reply:
- 2014-10-13
Francesco Fumanti (frafu) said : | #1 |
Hi,
Thanks for your interest in Onboard.
You could for example create a file called "start-onboard.sh" with the following content:
========== Start content =================
#!/bin/bash
exec onboard
========== Stop content =================
You also have to mark the start-onboard.sh file as executable. You can for example type in a terminal:
"sudo chmod a+x /folder/
If it does not work, try replacing "exec onboard" with "exec /usr/bin/onboard".
Onboard being a python application, there are probably also better ways to start it from a script.
Cheers
|
#2 |
Hi,
Thanks for your interest in Onboard.
You could for example create a file called "start-onboard.sh" with the following content:
========== Start content =================
#!/bin/bash
exec onboard
========== Stop content =================
You also have to mark the start-onboard.sh file as executable. You can for example type in a terminal:
"sudo chmod a+x /folder/
If it does not work, try replacing "exec onboard" with "exec /usr/bin/onboard".
Onboard being a python application, there are probably also better ways to start it from a script.
Cheers
Jimmy (jrengigas) said : | #3 |
Thank you so much Francesco. I changed the title a little in case someone searches the same info.
Working results:
install Onboard keyboard via your linux distro
Create file Keyboard.sh and make executable
========== Start content =================
#!/bin/bash
exec onboard
========== Stop content =================
Create in Resources > Script.Keyboard
int n = javax.swing.
null,
"Keyboard Ready To Load.",
JOptionPane.
if (n == 0) {
Runtime runtime = Runtime.
Process proc = runtime.
}else{
return;
}
Note: Change above path to where you create and folder for keyboard.sh
Jimmy
Jimmy (jrengigas) said : | #4 |
Thanks Francesco Fumanti, that solved my question.
Francesco Fumanti (frafu) said : | #5 |
You're welcome.