Tinderbox Forum

Code or Stamp to reset ALL the values of an $Attribute

Suggestions on: How to reset all the values of an $Attribute, preferable as a stamp
Example:
My Tags are messy, I want to clean them up and start over. Is there a stamp I could use to reset ALL values of (in this case) $Tags? Not just in one note but for the entire attribute.

I currently use two agents:

  1. to find all notes that have $Tags
  2. To reset all notes

Is there a better way?
Thanks
Tom

  1. Make an agent that finds all the notes with tags.
  2. Use the agent’s action to set $Tags=;

You could also use a stamp with the action

$Tags(all)=;
3 Likes

Ah, I forgot about the designator. Thanks Mark

1 Like