zenity/internal/zenutil/osascripts/list.gojs
2021-07-08 18:56:28 +01:00

5 lines
No EOL
196 B
Text

var app = Application.currentApplication()
app.includeStandardAdditions = true
var res = app.chooseFromList({{json .Items}}, {{json .Options}})
if (res.length !== 0) res.join({{json .Separator}})