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

On Friday, 6 July 2012 15:51:56 UTC+10, TonyM wrote:
>
> Hi everyone,
>
> I was just wondering if anyone had found a way to list a subset of the 
> current tiddlers tags using a search ?
>
> I have some tiddlers that are tagged with a range of tags to define its 
> type or status including one or more projects for which this tiddler is 
> relevant.
>
> I would like a method to search all tags in the current tiddler then test 
> if the tiddlers these tags represent meet some condition such as being 
> tagged "project". I want a list (ideally on a single line) of the tags in 
> the current tiddler that are project tags.
>
> In this case each tag is also a tiddler with its own tags.
>
> This would be very useful in a number of ways including providing toggle 
> tags and other features for selected tags.
>
> Thanks in advance for considering this request.
>
> TonyM
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/F3OCEeqcBbMJ.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to