A hopefully simple clock question...

On several of my DX Themes I like to use a text-clock, but sometimes I want the time and/or date to display vertically, instead of horizontally. Is there a way for me to do that through the object properties or do I need to do some scripting (which I have NO knowledge of how to do or even where to begin). TIA for all help
1,762 views 3 replies
Reply #2 Top
Heres all the script you need to put into it, just replace the OnScriptEnter bit with this:

'Called with the script is ran
Sub Object_OnScriptEnter()
  Object.Rotation = 90
End Sub


If Rotation doesnt work, try Rotate instead. Frogboy also has a tutorial about moving objects that relates to this... I'll check there after I post this just to check.
Reply #3 Top
Yes, but one of my gripes is that it should be possible to set Rotation via the GUI rather than having to do this via script.

In addition to the above script I would recommend that you set the objects default visibility to Off via the GUI, and only show it after rotation. This looks cleaner on screen.

Sub Object_OnScriptEnter()
Object.Rotation = 90
Object.Visible = True
End Sub