On Oct 23, 12:25 pm, Craig in Calgary <[email protected]>
wrote:
> [...] I will have "sets" of tiddlers, each "set"
> behaving like a slideshow. Is it possible for the TiddlyWiki to track
> the time spent from when the first tiddler in a "set" is opened for
> viewing until the last tiddler in the set is closed? I would store
> these durations  [...]
>
> Enhancement #1: once the timer starts, pause it while the user edits a
> tiddler in the set (to see what's going on behind the scenes), then
> resume the timer when the user returns to the tiddler in the set they
> left off at.
>
> Enhancement #2: once the timer starts, pause it while the user opens
> any tiddlers NOT in the set, then resume the timer when the user
> returns to the tiddler in the set they left off at.

Well it's meant for display of an actual slideshow, but some of the
code from:

  http://www.math.ist.utl.pt/~psoares/addons.html#SlideShowPlugin

may give you some ideas. Also there is:

  http://www.tiddlytools.com/#TaskTimerPlugin
  http://www.tiddlytools.com/#SlideshowTimer

that do similar timer related things. My guess is you would need to
control the timer
from javascript in some way. Another possible way to do it would be
to:

  store the start time for a "show" when viewing a slide in the show's
set
      when the show is interrupted (focus shifts to another tiddler,
user edits a tiddler)
         store the elapsed time (now - start time) for the show adding
it to any other time
            already recorded for the current show in a tiddler.
  when the user returns to (any) show, set the start time again and
continue the loop.

Seems like it should be doable in javascript.

-- rouilj

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to