Miss any of our Open RFC calls?Watch the recordings here! »

sendkey

0.0.3 • Public • Published

sendkey

It sends keys to OS X apps.

sendkey 36  # Hit enter 
sendkey -a 'Visual Studio Code'  36 # Activate Visual Studio Code and hit enter 

You can also use it from node:

const sendkey = require('sendkey')
 
// send enter to Emacs
sendkey(36, {application: 'Emacs'})

How it works

Applescript.

Keywords

none

Install

npm i sendkey

DownloadsWeekly Downloads

1

Version

0.0.3

License

ISC

Last publish

Collaborators

  • avatar