Unable to find capslock key in the syntax details and documentation ?
Is it supported ?
if not then is there any plan to include that ?
Capslock key should work :
robot.keyTap('capslock');
Capslock key not working
Try : robot.keyTap('capslock');
I'm trying to render capslock key event from my electron app
RobotJS version: 0.4.7
Node.js version: 4.5.0
npm version: 2.15.9
electron version: 1.7.3
Operating System: Win 7
Is there any update on this ?
@octalmage Is there any plan to support CapsLock key in future ?
I haven't received any comments on my issue above..
Hi @poojas2288 How temporary solve problem, i just add { "capslock", K_CAPSLOCK }, to KeyNames array in file node_modules/robotjs/src/robotjs.cc
After that, you can use capslock like other keyboard triggers: robotjs.keyTap('capslock');
Sorry for my English)
Here commit, which add this feature
This issue has been closed because it has been inactive for > 180 days.
You may reopen this issue if it has been closed in error.