/Keys.js

Simulate keystrokes using node.js

Primary LanguageJavaScript

Please use RobotJS instead!

Keys.js

This node.js module allows you to send keystrokes. Curently supports Mac OS X, Windows support is in the works.

Example:

This code sends the space key to the active application.

var keys = require('keys');
keys.send("49"); //49 is the keycode for space. 

Stories in Ready Build Status