Hello,
I have the following AFL to measure the remaining time of the candle.
function GetSecondNum()
{
Time = Now( 4 );
Seconds = int( Time % 100 );
Minutes = int( Time / 100 % 100 );
Hours = int( Time / 10000 % 100 );
SecondNum = int( Hours * 60 * 60 + Minutes * 60 + Seconds );
return SecondNum;
}
RequestTimedRefresh( 1 );
TimeFrame = Interval();
SecNumber = GetSecondNum();
SecsLeft = SecNumber - int( SecNumber / TimeFrame ) * TimeFrame;
SecsToGo = TimeFrame - SecsLeft;
Secsleft = SecsToGo % 60 ;
Minleft = int( SecsToGo / 60 );
Time = "\\c06 " + Minleft + "\\c06 :" + "\\c06 " + Secsleft ;
I need one alarms 10 seconds before the time finalizes.
At the moment the clock leaves in the high part the diagram in the left end. As I can move it to the right part of the graph.
Somebody can help me. Thank you very much.
Greetings,
I have the following AFL to measure the remaining time of the candle.
function GetSecondNum()
{
Time = Now( 4 );
Seconds = int( Time % 100 );
Minutes = int( Time / 100 % 100 );
Hours = int( Time / 10000 % 100 );
SecondNum = int( Hours * 60 * 60 + Minutes * 60 + Seconds );
return SecondNum;
}
RequestTimedRefresh( 1 );
TimeFrame = Interval();
SecNumber = GetSecondNum();
SecsLeft = SecNumber - int( SecNumber / TimeFrame ) * TimeFrame;
SecsToGo = TimeFrame - SecsLeft;
Secsleft = SecsToGo % 60 ;
Minleft = int( SecsToGo / 60 );
Time = "\\c06 " + Minleft + "\\c06 :" + "\\c06 " + Secsleft ;
I need one alarms 10 seconds before the time finalizes.
At the moment the clock leaves in the high part the diagram in the left end. As I can move it to the right part of the graph.
Somebody can help me. Thank you very much.
Greetings,