Quantcast
Viewing all articles
Browse latest Browse all 16559

Most efficient way to get all nested tags (JXA)

No I definitely have a real use case Image may be NSFW.
Clik here to view.
:wink:
I’m using this script to create “implicit tags” in my annotation documents, because I don’t want to use nested tags (e.g. like Obsidian does). DEVONthink does this already (which is great!), e.g. when tagging devonthink it automatically adds apps and pkm - which is the behavior I also want in other places.

Therefore I create a list of all tags in DT and process those through a script so I can input devonthink and it will output ["apps","pkm"]

This way DT is always my single source of truth for tags and hierarchy and I can dynamically get the current list and order of tags. As I’m running the script quite often (e.g. on saving a Markdown document in Obsidian) I’m looking if I can find the fastest way to create the nested tag list.


Viewing all articles
Browse latest Browse all 16559

Trending Articles