Thanks Everyone for your help one this.
As Promised a quick statement on what this script has allowed me to do so that people who are looking for it may find it in the future.
The Script basically permits me to do something similar to the for each Tiddler but for each tag (on the current tiddler). Because you can create a tiddler "Tag tiddler", For each tag you use in your tiddlywiki, you can also tag the "Tag tiddler" as well. This is what I conciser an attribute of that tag.
Using the script in this thread you can then act on the current tiddlers tags selectively according to another tag. Examples would include;
From all the current tags list only those that represent a status tag
From all the current tags list only those that represent a Project Tag
This permits a tiddlywiki with a lot of tags to basically assign a type of attribute to each tag and you can treat them differently as the need arises.
Rather than have the user of the tiddlywiki interpret a complex set of tags, in a single tag line, you can extract the ones that are meaning full.
One example is all my ProjectTasks display a list of projects they belong to (usually only the one they are assigned to) just under the tiddler title. I do not need to scroll down and scan the tags with my eyes and determine which represent projects. To do this all my project tags - have tiddlers tagged "project". The script lists tags on the current tiddler that are also tagged "project". That is the tags with the attribute Project.
Currently I have only used the script to list the relevant tags, filtered by a particular tag and/or provide a checkbox toggle tag option for each tag to remove them.
Happy designing.
Futures ?
I would like to develop a series of tools to use and manipulate tags using this method. Examples include;
For all tags on this tiddler - Open their matching tiddler if tagged "attribute tag"
For all tags on this tiddler - Transclude them into the current tiddler if tagged "attribute tag"
For all tags on this tiddler - Provide tag/untag options if tagged "attribute tag"
Provide tag/untag options if tagged "attribute tag" but not already tagging this tiddler
Provide logical operations on tags if this tag then provide option to untage these other tags
And more
Regards
Tony