osap Execute osascript with Promises 'use strict'; const osap = require('osap'); osap(`display dialog "A dialog" buttons "OK" default button 1`);