zenity/internal/zenutil/osascripts/list.gojs

5 lines
196 B
Plaintext
Raw Normal View History

2021-04-07 09:16:35 -04:00
var app = Application.currentApplication()
app.includeStandardAdditions = true
var res = app.chooseFromList({{json .Items}}, {{json .Options}})
2021-07-08 13:56:28 -04:00
if (res.length !== 0) res.join({{json .Separator}})