Is there a way to make an alert that appears on startup on a specific day? I use
Eric Shulman’s It's About Time! — TiddlyTools: "Small Tools for Big Ideas!" (tm) every day and it’s hugely helpful but it requires a time along with a date. I’m looking for a way to have something be in my face when I open my tiddlywiki on a specific day regardless of time.
A quick suggestion “now macro” allows you to generate a full date time value, what I call the tiddlywiki date number format.
What do you mean by day?
- Day of month
- Day of Week
- Date
- Day of year?
- yesterday…
Specific day of the year. Sorry for the confusion.
There is now! I just updated TiddlyTools/Time/Alarms to add handling for “startup” alarms.
To define a startup alarm, select “Once” enter/select a date, but leave the hours, minutes, and seconds blank.
On the specified date, the alarm will be triggered as soon as you load your TiddlyWiki. Once triggered, the time value for the startup alarm will be automatically updated to match the time at which is was triggered. This prevents the alarm from being repeatedly triggered once-per-second on the specified date.
Note that “Daily” and “Day of the Week” alarms cannot (currently) be used as startup alarms, and if you leave the hours/minutes/seconds blank, they will automatically default to the current time (which was the existing behavior prior to this change).
Get the update here: https://tiddlytools.com/timer.html#TiddlyTools%2FTime%2FAlarms
Let me know how it goes…
enjoy,
-e
Many thanks for the update! I have it set for tomorrow to test and will update then.
I use the Calendar parts every day by the way.
I just made another update. “startup” alarms now work for all types (“once”, “everyday”, or “day of the week”).
You can also pause/resume individual alarms (click on the alarm in the list). In addition, when a startup alarm is triggered, it is automatically paused to prevent it from repeatedly triggering once per second for the rest of that entire day. If you edit a paused alarm, it is automatically unpaused when you confirm your input.
enjoy,
-e
I worked great! Thanks again!
Another update:
I changed the way startup alarms are handled, so that they will only be triggered once when you open your TiddlyWiki, and no longer need to be automatically paused after triggering.
This update also fixes a significant **** BUG **** in the $action-timeout widget that was causing both the “delay” and “interval” timers to be invoked at startup, regardless of which parameter was being used.
Note that the TiddlyTools/Time/Ticker (invoked at startup) now uses both “delay” timeout for startup alarms and “interval” timeout for normal, time-triggered alarms.
In order for things to work properly, make sure you update ALL of the following tiddlers:
TiddlyTools/Time/action-timeout.js
TiddlyTools/Time/Ticker
TiddlyTools/Time/Alarms
enjoy,
-e