Quantcast
Channel: DEVONtechnologies Community - Latest posts
Viewing all articles
Browse latest Browse all 16117

Most efficient way to get all nested tags (JXA)

$
0
0

Yes I am - but other applications (like Obsidian) define nested tags as #apps/pkm/devonthink which doesn’t work (e.g. because it’s considered just a single tag in Finder). So I just use ‘flat tags’ ordered via DT. So a document is tagged “apps”, “pkm” and “devonthink” (3 separate tags) but DT knows there’s actually an order for those tags.

So yes I used “nested tags” in the DT-way of putting it (creating a hierarchy known to DT, but using individual tags for each document). That way works great and is my preferred method.

When I tag a document in Obsidian, I want also to only tag it with devonthink and have it automatically add the (implied) tags apps and pkm. That’s what I have created already and it works 100% as wanted. Now I’m looking if I can optimize some things, like the most efficient way to get tags.

No, this is just my notation to indicate an array (which I process further via Javascript and ultimately outputs Markdown)


Viewing all articles
Browse latest Browse all 16117

Trending Articles