@exponent/osascript

Tools for running an osascripts in Node

Stats

StarsIssuesVersionUpdatedCreatedSize
@exponent/osascript
301.6.45 years ago6 years agoMinified + gzip package size for @exponent/osascript in KB

Readme

osascript

Tools for running an osascripts in Node

  ccheever@Charless-MacBook-Air:~/projects/osascript$nesh -y
  .Node v4.1.0
  Type .help for more information
  nesh*> .require .
  osascript = require("/Users/ccheever/projects/osascript")
  nesh*> yield osascript.execAsync('tell app "System Events" to count processes whose name is "Simulator"')
  '1\n'
  nesh*> yield osascript.spawnAsync('quit app "Safari"')
  0
  nesh*>

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.