I’m not asking for someone to do this for me - just asking whether it’s worth me embarking on a missing to teach myself the automation framework by trying to do this myself:
I use tags for my 3 main axes of organisation, each with a preceding ascii character.
I’d love it if there was a way that when I switch one of the tags, OF automatically turns off any other tags in that category, for example if I was changing something from =Good Soon to =Essential, the =Good Soon tag goes away.
I know there’s other ways of achieving this, particularly with the days stuff, but this is how my brain works and if I could coax OF to work with me, I’d be very happy!
To add to what @cands wrote, @deaghean wrote a Generate Toggle Tag plug-in that cleverly creates plug-in(s) that allow you to toggle tags.
For example, I have tags for each day of the week and used this plug-in to create plug-ins so that I can very easily switch days. For added convenience, I added keyboard shortcuts for each day of the week. I use these shortcuts on my Macs and my iPad (when the hardware keyboard is attached).
I just made a set of actions this week using these scripts (thanks!).
I made a separate script for each sibling tag, using the Generate script to create them. I noted that in each new script, I had to first unselect the original tag and then select the tag I wanted. Might this be the problem?
It did “just work” for me, for which I was grateful since I wasn’t sure how to troubleshoot!
I’m wondering if there’s confusion about what the “group” is in this case. For instance, if you have a tag structure like this:
And have “Remove sibling tags” enabled, adding Primary will remove Secondary, adding Day will remove Night, and adding Personal will remove Work. It’s removing other tags in the same hierarchical position, not those you’ve selected in the generator.
Ahh, I see. So, following what you did in the video, you now have an option in the Automation menu called “At Symbol Test” that contains options to toggle each of the tags you included. If you’re adding a tag by running that plugin it will remove siblings of that tag.
Unfortunately, there isn’t yet a way for a plugin to automatically trigger after you make edits with the regular interface.