pibb
Version:
Private Institutional Bulletin Board - I2I Platform for Private Transactions
35 lines (20 loc) • 551 B
Markdown
and get the result
```
$ npm install run-applescript
```
```js
import {runAppleScriptAsync} from 'run-applescript';
const result = await runAppleScriptAsync('return "unicorn"');
console.log(result);
//=> 'unicorn'
```
Returns a `Promise<string>` with the script result.
Returns a `string` with the script result.
- [run-jxa](https://github.com/sindresorhus/run-jxa) - Run JXA code and get the result
> Run AppleScript