A hopefully simple clock question...

Thursday, October 13, 2005 by Stupendous Man | Discussion: DesktopX

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
Stupendous Man
Reply #1 Friday, October 14, 2005 4:28 PM
one time bump.
CerebroJD
Reply #2 Friday, October 14, 2005 4:48 PM
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.
_Martin_
Reply #3 Friday, October 21, 2005 7:03 AM
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

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01