DesktopX 2.0 Enhanced Q

Monday, September 6, 2004 by ma3lstr0m | Discussion: WinCustomize Talk

I was wondering is it possible to set an object to refresh for a certain time interval and if so how can I achieve this?
Thanks in advance.
ma3lstr0m
Reply #1 Monday, September 6, 2004 1:31 AM
Sorry thought this was posted in the Help section...
Frogboy
Reply #2 Monday, September 6, 2004 1:57 AM

No problem. 

Now by refresh, what do you mean?

ma3lstr0m
Reply #3 Monday, September 6, 2004 2:05 AM
like for example...a clock that has seconds, right now it's static so the image is fixed
I want it to change/update every second ...is this possible in 2.0?
Frogboy
Reply #4 Monday, September 6, 2004 2:19 AM

Sure.  But in your clock example you're doing too much work. There's already a clock plugin.

Just go to the "additional abilities" area on the general page and then select the clock plugin.

Now, in script, the way you would update something every second would be like this:

Sub Object_OnScriptEnter

Object.SetTimer 123,1000

End Sub

SetTimer has two paramters. The first one is the timer name and the second one is the time in MS that itshould get called.

So then you would create:

Sub Object_OnTimer123

Object.SetText (stuff here)

End Sub 

but on clocks, you would just use the built in plugins for that.

ma3lstr0m
Reply #5 Monday, September 6, 2004 2:36 AM
Hmm maybe you are using a version higher than 2.0?
Cuz there is no "additional abilities" on general page.
There is a general plugin thing that I can choosea dll from but don't think that's right.
The thing is, the clock gets the right info, it just doesn't update every second...it only updates when I right-click then go into properties and click ok...only then it will refresh.
Thanks for the help so far.
Frogboy
Reply #6 Monday, September 6, 2004 2:51 AM

Yes, that's the thing I'm takling about.  Make sure you download 2.2 btw from www.desktopx.net

Just pick the clock you want.

ma3lstr0m
Reply #7 Monday, September 6, 2004 3:12 AM
ok so I'm guessing I need to update to 2.2 to have a clock or any other object that changes to refresh properly for the right clock dll file.
When I select DXDigitalClock.dll or a similar dll for general plugin it says it's a drawing plugin and not a general purpose plugin. I'm guessing this is for the plugin in Appearance in the States tab.

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