Hi all,
I need to reproduce a keyboard because I’ll run my servoy application on a touchscreen;
At now I have a problem with cursor position; I have to insert the new character into the current cursor position but how can I know this? In fact the user can set the cursor wherever he want!
So my question is: Does exist a way to reproduce the keyboard press and specify what button I want to reproduce? or
Does exist a way to know where is the cursor position (for example at 657 char)?
I know a java Class called “Robot”:
try {
Robot robot = new Robot();
robot.keyPress(KeyEvent.VK_A);
robot.keyRelease(KeyEvent.VK_A);
}catch (AWTException e) { }
Does exist a way in servoy to do the same?
Thanks in advance
Marco