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

weather presentation and add variables

Sunday, 04/22/2007 -- by stella. Subject: weather presentation and add variables

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

Monday, 04/23/2007 -- by Marvin Droogsma (www.pthgroep.nl). Subject: Weekdays

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.

Monday, 04/23/2007 -- by stella. Subject: yes I need it

can you send me , please.
I want have access to any sample of weekday variables., please
sheilac_21@yahoo.com
Thanks

Monday, 04/23/2007 -- by Roger Wilson. Subject: A hop on the Band-Wagon...

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

Monday, 04/23/2007 -- by Marvin Droogsma (www.pthgroep.nl). Subject: Day + 1

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


Friday, 09/14/2007 -- by Jarek. Subject: Polish weekday

How i make weekday in polish language and how show scripts in scala?

Monday, 09/17/2007 -- by John Schilling. Subject: Replace the Dutch day names with the Polish...

Or--the script could be made appropriate for both Poland and Holland by using the, built-in, "!variable" day names--in German! [HUMOR]

:-)

--JSS

Wednesday, 09/19/2007 -- by Jarek. Subject: how use

hi, how use this script ?? please instructiion


Back: Data Centre based Content Manager -- Local USB Dongle?

   Discussions 2005 Index   
(Page 61 of 230)

Next: prove the script without scala

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