Oh I forgot to ask.... What is the syntax for having more than one tag in the script?? Is it commas - or bolean syntax, spaces or something else?
YS Måns Mårtensson On 10 Mar., 21:55, Måns <[email protected]> wrote: > Fantastic - Eric - You are a true magician!!! - My son tells me that > it's not called magic - just programming!! - But nevertheless its > working - and I'm very gratefull! > > Now I have a Reset-button for those of my tags that I use temporarily > - and can start over from scratch after having hitted the > restbutton!!! > > Can I make a timed reset for certain tags?? - I'd like to be able to > set an individual countdown for each Tag getting reset.... > Is this possible? > > YS Måns Mårtensson > > On 10 Mar., 17:30, Eric Shulman <[email protected]> wrote: > > > > I'm already using a script to update (saving tiddlerwise) every > > > tiddler tagged with a specific tag: > > > <script label="UpdateTiddlersTagged"> > > > var tag="TagName"; > > > var tids=store.getTaggedTiddlers(tag); > > > store.suspendNotifications(); > > > for (var i=0; i<tids.length; i++) { var t=tids[i]; > > > store.saveTiddler > > > (t.title,t.title,t.text,t.modifier,t.modified,t.tags,t.fields);} > > > > store.resumeNotifications(); > > > </script> > > > add something like this, just before the call to store.saveTiddler > > (...): > > > store.setTiddlerTag(t.title,false,tag); --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---

