Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using typeString() to output consecutive identical unicode characters, only the first character will be output #762

Open
dongivan opened this issue Aug 4, 2024 · 0 comments

Comments

@dongivan
Copy link

dongivan commented Aug 4, 2024

[email protected] (use npm install robotjs) doesn't support typeString() with unicode in windows, so I cloned the project and build it locally.
Everything goes fine except code like robotjs.typeString("ㄱㄱㄱ"). It should output three but only one actually outputted,
and robotjs.typeString("1ㄱ2ㄱㄱ3ㄱㄱㄱ4444ㄱ55555ㄱ66666ㄱ") will output 1ㄱ2ㄱ3ㄱ4ㄱ5ㄱ6ㄱ.
I dont understand C/C++ so I cannot fix it by myself. Please help me.

contents.split("").forEach((s) => robotjs.typeString(s)) cannot output correctly neither.

  • RobotJS version: master branch(8ae87a9)
  • Node.js version: 20.10.0
  • npm version: 10.5.1
  • Electron: 22.3.7
  • Operating System: Windows 11 Home Edition (23H2 v22631.3880)
@dongivan dongivan changed the title When using typeString() to output consecutive identical unicode CJK characters, only the first character will be output When using typeString() to output consecutive identical unicode characters, only the first character will be output Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant