I have a folder in OF4. All Projects and Tasks in that folder need to be tagged with a specific tag. At present, I manually add the tag after creating a new Project in this folder or after dropping a Project into the folder. Tasks aren’t such a problem as they automatically inherit Project tags. Is there a way for OF to automatically tag all projects created in that folder, or dropped into the folder, with a specific tag?
No, but you could trigger a dedicated plugin from time to time via keyboard shortcuts (or triggered by time as an Automation from Apple Shortcuts).
Try this. It looks for a folder called „MyFolder“ and assigns an existing tag „MyTag“ to all projects / action groups / actions within that folder.
AssignMyTagToFolder.omnifocusjs (1.1 KB)
Thank you Logan. I’ll give it a try.
Can i just ask why you’re tagging them and what you hope to achieve?
Do you know that you can create perspectives based on the folder the tasks are in, so taggin also is redundant in that case.
You’re right, creating perspectives based on folders removes the need to auto-tag tasks being put into a particular folder. I realised this at some point after posting my original question. (Even though I’ve been using OF for a decade, it’s still a learning curve!) But, I appreciate the heads up nevertheless. Many thanks.