I've looked everywhere and cannot find the script. Does anyone still have a copy?
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
----------------------------------------------------
Thanks!
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
Discussions 2005 Index |
Contact Scala about your end-to-end software solutions for creating and controlling Electronic Display Networks, whether you call it Dynamic digital signage, Narrowcasting, Captive Audience Networks, Kiosks, Point-of-Purchase Displays, Digital In-Store Merchandising, Out-of-Home Media Networks, Place-based Advertising, Display Marketing, Retail Digital Media Networks, Datacasting, Electronic Billboards, The Outernet or any of the other terms in use today. Scala conducts business through a worldwide network of Value Added Resellers. For more information on what this emerging industry is coming to be named, you can see how other people found this page. ©1993-2008 Scala, Inc. Scala, InfoChannel, and the Exclamation Point Logo are registered trademarks of Scala, Inc. All other trademarks are the property of their respective organizations. To see all the content on our Website, click Sitemap or check our blog for the latest updates. Read our Privacy Policy.