I'm working over this sample code in order to make it send keys:
The problem is that sometimes it's send an "F" but others "f". Any idea why??? I need to make some combinations with ctrl, alt and shift.
Cheers!!
B4X:
Starter.Connector1.SendCommand(CreateRobotCommand("RobotSpecialKeyPress", Array("shift")))
Starter.Connector1.SendCommand(CreateRobotCommand("RobotKeyPress", Array("f")))
Starter.Connector1.SendCommand(CreateRobotCommand("RobotDelay", Array(10)))
Starter.Connector1.SendCommand(CreateRobotCommand("RobotKeyRelease", Array("f")))
Starter.Connector1.SendCommand(CreateRobotCommand("RobotSpecialKeyRelease", Array("shift")))
Cheers!!