...hmm... let me "explain-and-reverse" the "stuff" I need...
First... well... I am getting the Text Explanation of key... with code of #1 post.
I have found a java code that Pressing and Releasing keys but with "int" code of keys ... :-( - I want to maximize compatibility between them ---> but one is text-explain and the other direct "int" code of key... :-(
For example: the java code of pressing key... to the foreground app (but with int)
inline java code that works...
import java.awt.*;
import java.awt.event.KeyEvent;
import java.awt.event.InputEvent;
public class mykbclasses{
public void KKeyPress(int ccode) {
try {
Robot robot = new Robot();
robot.keyPress(ccode);
} catch (AWTException e) {
e.printStackTrace();
}
}
scenario-1
I need to get the text-explain (i have this) and press with text-explain (i havent this)
scenario-2
I need to get "int" code of keys (not having that) and press with "int" code (i have that)
One of both scenarios will work for me...