octalmage / Keys.js

Simulate keystrokes using node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Simulate keystrokes using node.js


Languages

Language:JavaScript 100.0%