We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This code doesn't work:
var robot = require("robotjs"); robot.keyTap("H");
but this does:
var robot = require("robotjs"); robot.keyTap("h");
This also works:
var robot = require("robotjs"); robot.typeString("H");
The text was updated successfully, but these errors were encountered:
This is because keyTap is build for holding keys down with modifiers (like shift or ctrl). To do a capital letter you'd press h with shift.
Sorry, something went wrong.
No branches or pull requests
This code doesn't work:
but this does:
This also works:
The text was updated successfully, but these errors were encountered: