Page 1 of 1

Countdown Clock Timer

Posted: Thu Jun 12, 2014 10:36 pm
by FayJiy
Hi

I've been using LiveCode as my programming language, I love it and it's great. However I am stuck on how to create a simple countdown clock with a minute and second display. I have successfully made a countdown, but only using second with no unit.

It would be awesome if someone could help me on programming the countdown clock with minutes and seconds display

Thanks

Re: Countdown Clock Timer

Posted: Thu Jun 12, 2014 10:50 pm
by sefrojones
See the (soon to be updated) scripting conference stack about Dates and Time here:

http://www.hyperactivesw.com/revscriptc ... ences.html


keep in mind that when the stack is referring to "Revolution" or "transcript" it means "LiveCode". other than that it's a good starting point for understanding dates, time, and timers.

Hope this was helpful!

--Sefro

Re: Countdown Clock Timer

Posted: Fri Jun 13, 2014 2:09 am
by Simon
There was a great thread on this:
http://forums.livecode.com/viewtopic.ph ... 58&p=91125
it digs into accurate timers.

Simon

Re: Countdown Clock Timer

Posted: Fri Jun 13, 2014 7:55 pm
by [-hh]
..........

Re: Countdown Clock Timer

Posted: Fri Jun 13, 2014 10:27 pm
by bn
Hi FayJly,

I made a little countDown timer as a way to do it.

The main scripts are in the card script.
You would have to be familiar with "send in time" to understand the script. "Send in time" triggers a message in the specified time intervall.

Kind regards
Bernd