zenity/internal/zenutil/osascripts/file.gojs
2021-03-03 16:05:11 +00:00

10 lines
No EOL
226 B
Text

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