Wolfram Research

Function Repository Resource:

TimerTable (1.1.0) current version: 1.2.0 »

Source Notebook

Create a table of consecutive countdowns

Contributed by: Michael Sollami

ResourceFunction["TimerTable"][<|label1timespec1,label2timespec2,|>]

creates a notebook object with a dynamic display of countdown timers.

Details and Options

Each label is a string and each timespec is a positive real number of minute (to specify other units of time use Quantity)
To display within the evalutation notebook instead of creating a new window, set the option "Palette"False

Examples

Basic Examples (2) 

Create a list of consecutive countdowns:

In[1]:=
ResourceFunction["TimerTable"]@<|"\!\(\*
StyleBox[\"Step\",\nFontWeight->\"Bold\"]\)\!\(\*
StyleBox[\" \",\nFontWeight->\"Bold\"]\)\!\(\*
StyleBox[\"1.\",\nFontWeight->\"Bold\"]\)\!\(\*
StyleBox[\" \",\nFontWeight->\"Bold\"]\)Collect underpants" -> .5, "\!\(\*
StyleBox[\"Step\",\nFontWeight->\"Bold\"]\)\!\(\*
StyleBox[\" \",\nFontWeight->\"Bold\"]\)\!\(\*
StyleBox[\"2.\",\nFontWeight->\"Bold\"]\) ???" -> .5, "\!\(\*
StyleBox[\"Step\",\nFontWeight->\"Bold\"]\)\!\(\*
StyleBox[\" \",\nFontWeight->\"Bold\"]\)\!\(\*
StyleBox[\"3.\",\nFontWeight->\"Bold\"]\) Profit!" -> .5|>
Out[1]=

The generated table show progress along with the total time left, and has a pause/resume button:


You can use Quantity to specify time in units other than minutes:

In[2]:=
ResourceFunction[
 "TimerTable"][{{"chug coffee", Quantity[15, "Seconds"]}, {"review resumes", 25}, {"work on patent", Quantity[2, "Hours"]}, {"respond to emails", Quantity[3.14, "Minutes"]}, {"debug code", Quantity[1.5`, "Hours"]}}]
Out[2]=

Options (1) 

Display TimerTable within a notebook (not in a separate window):

In[3]:=
ResourceFunction[
 "TimerTable"][{{"Three", .05}, {"Six", .1}, {"Twelve", .2}}, "Palette" -> False]
Out[3]=

Publisher

Michael Sollami

Version History

  • 1.2.0 – 05 January 2024
  • 1.1.0 – 24 June 2022
  • 1.0.0 – 28 February 2020

Related Resources

License Information