Import from Hazel to various groups - JavaScript

You’re welcome. There’s a newer one on a similar topic, too:

And I just noticed that the whose call is a bit over-engineered.
var db = app.databases[name];
should do the trick just fine and is a lot clearer.

1 Like