set test timer < 1 minute

Just had the need for a timer and thought I would look for one before inventing my own. Since I did not see one in Lectora, I have a workaround that many may be interested in.At the page level, add one action to set a variable called RemainingTime to the number of seconds you desire.On the page, create a text block, call it TimerDisplay. Add five actions:Action 1. On: Show; Action: Change Contents of TimerDisplay, New Contents = RemainingTime.Action 2. On: Show; Action: Hide TimerDisplay -- check Delay Before Action and enter 1.0 seconds.Action 3. On: Hide; Action: Modify Variable; Target: RemainingTime; Value =1; Modification Type: SubtractAction 4. On: Hide; Action: Show Timer Display; Condition: Perform only if RemainingTime is Greater Than 0.Action 5. On: Hide; Action: Display Message; Message = "Time's Up." Condition: Perform only if RemainingTime Equals 0.benEdited By: bpitman on 2005-11-28 21:5:29

Discussions have been disabled for this post