@marionebl/run-applescript
v3.0.0
Published
Run AppleScript and get the result
Maintainers
Readme
run-applescript 
Run AppleScript and get the result
Install
$ npm install --save run-applescriptUsage
const runApplescript = require('run-applescript');
runApplescript('return "unicorn"').then(result => {
console.log(result);
//=> 'unicorn'
});API
runAppleScript(script)
Returns a Promise<string> of the script results
runAppleScript.sync(script)
Returns the script results as string
Related
- run-jxa - Run JXA code and get the result
License
MIT © Sindre Sorhus
