applescript-result
Convert an AppleScript result to its equivalent JavaScript representation
Installation
$ npm install applescript-result
Usage
const applescriptResult = // => [ 1, 2, 3 ] // => { product: 'pen', price: 2.34 }
Supported data types
Related
- applescript: Run AppleScript and get the result as a native JavaScript data type
- run-applescript: Run AppleScript and get the result as a string
- node-osascript: Run AppleScript and process the result using PEG.js
- run-jxa: Run JXA (JavaScript for Automation) code and get the result