Changing tags based on <<now>>, perhaps on startUp?

69 views
Skip to first unread message

Steven Schneider

unread,
Sep 7, 2019, 1:10:08 PM9/7/19
to TiddlyWiki
I'm creating an agenda-maker for an ongoing (weekly) meeting. I have a set of tiddlers tagged <<AgendaTopics>>. I have a set of tiddlers tagged <<Agendas>>, each of which have a meeting date field (agendadate). My template for tiddlers tagged <<Agendas>>  has a <<list-links-draggable>> which captures  tiddlers tagged to it. 

I've attached a json file, on its way to a plugin, that has the templates, macros and required plugin (tobias appear)).

My question: how do I, on startUp, change the tags of tiddlers tagged <<Agendas>> with field <<agendadate>> that is in the past  to have the tag <<OldAgendas>>?

Thanks!

//steve.
agenda-maker.json

Watt

unread,
Sep 9, 2019, 2:34:24 AM9/9/19
to TiddlyWiki
Thanks for this Steve, this script by Jed might help with the startup actions if it still works with the latest release, I haven't tried it;
https://ooktech.com/jed/ExampleWikis/StartupActions/

I hope you keep going with Agendas, I've bolted Mohammad's todolist on to it as an Agenda template and they seem to work well together on a mobile without drag and drop. Still working out the Topics mechanism though.
Good luck.

Jed Carty

unread,
Sep 9, 2019, 2:55:05 AM9/9/19
to TiddlyWiki
If you want to use startup actions I suggest you use the core version, it will have much better support than my old version.

Watt

unread,
Sep 9, 2019, 3:21:32 AM9/9/19
to TiddlyWiki
Nice one. Couldn't find it in docs, should have taken more than a minute (agenda joke!)
https://tiddlywiki.com/#StartupActions

TonyM

unread,
Sep 9, 2019, 4:49:27 AM9/9/19
to TiddlyWiki
Jed

Actualy yours is much better because the core one is mostly limited to device size and theme settings. Your can run a lot more.

It would be nice if we could get your version in there.

Thanks
Tony

Reply all
Reply to author
Forward
0 new messages