Package Exports
- @expo/osascript
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@expo/osascript) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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*>