Hi to all
this is the link for reference constant value
http://docs.oracle.com/javase/7/docs/api/constant-values.html#java.awt.event.KeyEvent.VK_COLON
In my program i use SendKey(513) for send ":"
(robot is JavaObject)
but not work (null char).
Why?
Thanks
this is the link for reference constant value
http://docs.oracle.com/javase/7/docs/api/constant-values.html#java.awt.event.KeyEvent.VK_COLON
In my program i use SendKey(513) for send ":"
(robot is JavaObject)
B4X:
Sub SendKey(code As Int)
If shift Or maiuscolo Then robot.RunMethod("keyPress", Array As Object(16))
robot.RunMethod("keyPress", Array As Object(code))
Sleep(100)
robot.RunMethod("keyRelease", Array As Object(code))
If shift Or maiuscolo Then robot.RunMethod("keyRelease", Array As Object(16))
If shift Then
shift = False
LoadMinuscolo
End If
End Sub
Why?
Thanks