octalmage / robotjs

Node.js Desktop Automation.
http://robotjs.io
MIT License
12.37k stars 961 forks source link

typeString missing consecutive keys #677

Open kgallimore opened 3 years ago

kgallimore commented 3 years ago

Expected Behavior

robot.typeString("122333444455555666666777777788888888999999999");
robot.keyTap("enter");
robot.typeString("abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiii");

Should output: 122333444455555666666777777788888888999999999 abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiii

Current Behavior

It fails to output consecutive characters most times. image

Possible Solution

I mean for now I am just trying to use typeStringDelayed

Steps to Reproduce (for bugs)

robot.typeString("122333444455555666666777777788888888999999999"); robot.keyTap("enter"); robot.typeString("abbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiii"); Then just try to see what content it puts out

Context

Trying to type strings, but it won't really work with anything with consecutive characters

Your Environment