I'm making a weather presentation using Scala Info Channel Designer, which will include a 5-day forecast. Is there any way to set variables for FIVE week days?? I want to add MON, TUE WED...etc... to the graphic without having to update everyday. I know you can add the today by adding !WEEKDAYis there anyway to add variables for the next FOUR days using the variables and not having to update manually?? Thanks
Could I possibly have access to any sample of weekday variables.
sheilac_21@yahoo.com
Thanks
I use a VBscript for this, if you need it, let me know. It would be nice for Scalscript to be able to add days to it, like !weekday(+1) or something alike.
can you send me , please.
I want have access to any sample of weekday variables., please
sheilac_21@yahoo.com
Thanks
I would also like to take a look at your script, if I may. I am trying to get familiar with scalascript, so the more examples i have to play with, the better. You can email me at : roger_runtings@hotmail.com
Sheila, you got this one before on likewise subject. I could really take you by the hand and create every single step for you, but it's better for you to understand whats being done, that way you learn it even better ;o)
Here is a rather bulky (but working) example... (with Dutch day and monthnames)
' Get current Date
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_LocalTime")
For Each objItem in colItems
dagnu=Int(objItem.DayOfWeek)
dagnr=Int(objItem.Day)
maandnu=Int(objItem.Month)
jaarnu=Int(objItem.year)
Next
' You can loop this between 1 and 7 (number of times is number of days in XML)
for a=1 to 5
Select Case dagnu
Case 1
dag = "Maandag"
Case 2
dag ="Dinsdag"
Case 3
dag ="Woensdag"
Case 4
dag = "Donderdag"
Case 5
dag ="Vrijdag"
Case 6
dag = "Zaterdag"
Case 7
dag = "Zondag"
End Select
Dagnu=Dagnu+1
if dagnu>7 then
dagnu=1
end if
next
How i make weekday in polish language and how show scripts in scala?
Or--the script could be made appropriate for both Poland and Holland by using the, built-in, "!variable" day names--in German! [HUMOR]
:-)
--JSS
hi, how use this script ?? please instructiion
Back: Data Centre based Content Manager -- Local USB Dongle? |
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.