sindresorhus

run-applescript

Run AppleScript and get the result

by sindresorhus

JavaScript

JavaScript84.2%
TypeScript15.8%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
tiptronic
Abort execution?ClosedIssue

Would it be possible to make this abortable by passing an on to ? and in :

tiptronic · 1y ago
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:

ruicalheno133 · 3y ago
Structured data for AI agents

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. Latest release: v7.1.0 (1y ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, kevva, marionebl, mitchheddles, Richienb, SamVerschueren, garyking, ruicalheno133.