zenity/internal/zenutil/osascripts/file.gojs
2021-02-19 17:46:47 +00:00

10 lines
No EOL
232 B
Text

var app = Application.currentApplication()
app.includeStandardAdditions = true
app.activate()
var res = app[{{json .Operation}}]({{json .Options}})
if (Array.isArray(res)) {
res.join({{json .Separator}})
} else {
res.toString()
}