B4J Question How to 'send' command/characters to program with focus, as if they were sent from keyboard?

amorosik

Expert
Licensed User
Suppose we have a smartphone that reads a barcode and sends it to a 'server' program created with B4J and running on PC1
On PC1 there is a screen of another application, any type with user interface and textbox with focus, on which I would like to send the characters as if they were sent from keyborad
And so the question is: from a B4J program (iconized in the task bar or even a program without a user interface) how to send a sequence of characters exactly as if they were pressed on the keyboard?
 
Top