Scala - Digital Signage Software [Logo]
Languages: EnglishGermanPolishJapaneseNorwegianFrench
  Markets Products Partners Services Support About Us  
Scala Support Scala Celebrates 20 Years of Innovation and Leadership

Countdown Clock Script

Tuesday, 05/15/2007 -- by Jim Webb. Subject: Countdown Clock Script

I've looked everywhere and cannot find the script. Does anyone still have a copy?

Wednesday, 05/16/2007 -- by Ivars. Subject: Countdown script IC5

there is

IC5
----------------------------------------------------
!ScalaScript500
:"countdown.sca"
{
Group:
Integer(wait);
String(Days, Hours);
BackgroundSettings(Size(1024, 768));
Sequence:
wait = 1;
WindowsScript("countdown.vbs", ShareVariable("wait"), ShareVariable("Days"), ShareVariable("Hours"));
{
      Group:
      Display(Backdrop(Pen(1)), Margin(10, 10, 0, 0), Tabs(Explicit(80, 160, 240, 320, 400, 480, 560)), UserPalette(RGBPen(1, $0, $ffffff, $999999, $555555, $712068, $df449c, $dc110e, $662200, $ff5a00, $ff9c00, $ffee00, $8800, $dd00, $cccc, $66ff, $aa, $777777, $bbbbbb, $dddddd)));
      Text(128, 78, "Countdown Script", Face(On, Pen(2)), AntiAlias(On), Update(Normal), Font("Bitstream Vera Sans (Western [])", 50), Wrap(On, Width(886)));
      Text(134, 165, "Days: !Days", Face(On, Pen(2)), AntiAlias(On), Update(Normal), Font("Bitstream Vera Sans (Western [])", 50), Wrap(On, Width(880)));
      Text(143, 245, "Hours: !Hours", Face(On, Pen(2)), AntiAlias(On), Update(Normal), Font("Bitstream Vera Sans (Western [])", 50), Wrap(On, Width(871)));
      HardDuration(5000);
}
wait = 0;
}
----------------------------------------------------

VBScript (countdown.vbs)
----------------------------------------------------
dim d
dim n
Dim oScala
Set oScala = CreateObject("ScalaPlayer.ScalaPlayer.1")
n=DateSerial(2007, 5, 26)+TimeSerial(22, 0, 0)

While (wait = 1)
d=now()
Days = "" & int(n-d)
Hours = FormatDateTime((n-d)-int(n-d), vbLongTime)
oScala.Sleep(200)
Wend
----------------------------------------------------

Wednesday, 05/16/2007 -- by Jim Webb. Subject:

Thanks!

Thursday, 11/29/2007 -- by Dan Small. Subject: countdown script

Could someone explain how this script could be modified to provide a specific countdown, say from 5 minutes? Would there be a different approach to doing this countdown? Searching the topic "countdown" has provided more unanswered questions than solutions. Any help is appreciated!!!
Dan


Back: Scala ic5 release2

   Discussions 2005 Index   
(Page 53 of 230)

Next: VOB File

Additional Information
Request DVD - Concepts and demo
Contact Scala Sales
Search