Trying to create a text object

First attempt at doing a DesktopX item

Wednesday, April 20, 2005 by xvolution | Discussion: DesktopX

Hi. I've finally decided to try my hand at making a desktopX object. I'm already having problems with the script coding.

I'm trying to make a text object that will take a value in a variable and display it as text on the desktop. A rate value is added to the variable every second and is updated every second. The question I have is: how do you get it to display as text on the desktop? The tutorials didn't help me out at all. I tried object.Text(myVariable), but I kept getting errors with it.

Thanks in advance.
WickedP
Reply #1 Wednesday, April 20, 2005 5:27 PM
Object.text=MyVariable

Wicked.
xvolution
Reply #2 Wednesday, April 20, 2005 7:35 PM
Thanks again. That worked.

The tutorials don't say anything about how to do that. Someone needs to make a tutorial on how to do things like this in DX cause the tutorial is too vague.
CerebroJD
Reply #3 Thursday, April 21, 2005 3:09 AM
Well, really, its VBscript. DX has a few extra bits added into it, but if you learn VBscript, you're set. Just do a google search for VBscript tutorials. I'd recommend the w3school websites...super good learning there.

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