@expo/osascript
TypeScript icon, indicating that this package has built-in type declarations

2.1.3 • Public • Published

👋 Welcome to
@expo/osascript

Tools for running osascripts in Node.

Example

  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*>

Package Sidebar

Install

npm i @expo/osascript

Weekly Downloads

615,670

Version

2.1.3

License

MIT

Unpacked Size

16.2 kB

Total Files

6

Last publish

Collaborators

  • radoslawkrzemien
  • pkham
  • szdziedzic
  • tsapeta
  • ide
  • lukmccall
  • expo-bot
  • alanhughes
  • kadikraman
  • aleqsio
  • marklawlor
  • gabrieldonadel
  • simek
  • keith-kurak
  • christopherwalter
  • fiber-god
  • brentvatne
  • evanbacon
  • quinlanj
  • expoadmin
  • exponent
  • wschurman
  • bycedric
  • jonsamp
  • princefleaswallow
  • kudochien