If you'd like to join in the Discussion, or access additional features in our forums, please sign in with your Evernote Account here. Have an Evernote Account but forgot your password? Reset it! Don't have an account yet? Create One! You'll need to set your Display Name before your first post.
This script examines the tags for the selected notes in Evernote. For each tag it then traverses the Evernote tag tree all the way up to the root ultimately replacing the tag with all the tags along its path. Say, for example, a note is tagged with "apple". Also say that the tags are organized as follows:
plant
food
fruit
apple
fuji
honey-crisp
red delicious
pear
bartlett
d'anjou
vegetable
greens
chard
lettuce
Running Taggify Evernote on that note will result in the tag "apple" being replaced by the tags "plant", "food", "fruit", and "apple" sorted alphabetically.
By the way, as the program runs it counts off the notes so you have some idea of how far along it has worked. You can adjust this by modifying the properties below.
Why would I want to do this?
Two reasons:
If you structure your tags hierarchically, and then apply all the tags along a path, you can search for tag:fruit for example and get any note with the tags apple, fuji, honeycrisp, red delicious, pear, bartlett, or d'anjoy.
It saves you from having to manually enter all the tags along a path.
Disclaimer: This script is offered as-is. I make no guarantees about the accuracy of what it does. Try it first on a small selection of notes, perhaps just a single note. And don't blame me if it doesn't do what you want or causes problems. I have run it extensively and have profiled its performance to make it about as efficient as a script like this can be. At the very least, feel free to use it as a basis for your own scripting.