Repository: sindresorhus/run-applescript. Description: Run AppleScript and get the result Stars: 172, Forks: 16. Primary language: JavaScript. Languages: JavaScript (84.2%), TypeScript (15.8%). License: MIT. Open PRs: 0, open issues: 0. Last activity: 5mo ago. Top contributors: sindresorhus, kevva, marionebl, mitchheddles, Richienb, SamVerschueren, garyking, ruicalheno133.
Currently, only option is used to execute an inline script. This PR: Adds support for osascript's output modifier flags (as specified here). Adds tests to ensure current behaviour is kept and flag behaviour works I'm not sure if this solves #4, but using the flag, it returns a string that can be parsed into an array. Neverthless, I think it is useful to have this option available to mirror the behaviour of the command,. Output without flag: Output with flag: