Time and Date in xPopup Thread last updated on 2008-04-10 18:38:03

Posted by member 269067 on 2008-04-09 14:04:54

The Readme says:
*Popup !info "[time('hh:nn:ss')]"

It doesn't work.
Here's my full config:
;--Time Popup--

*Popup ".: Date / Time :." !New !PopupTime
*Popup !info "[time('hh:nn:ss')]"
*Popup ~New

But then a !PopupTime just shows
[time('hh:nn:ss')]


?

Posted by member 212670 on 2008-04-09 14:13:16 link

Are you using xpopup for the popup module? I don't think !info works with themes using the popup2 module.

Posted by member 269067 on 2008-04-09 15:07:59 link

Sorry, using xPopup.

I remember with popup2 it was
*popup [date time stuff] !DateTime

But with xPopup the !info is supposed to work. I think the info is pulled from the xStatsclass module.

I have xStatsClass.dll in my Litestep folder, and even explicitly load it in step.rc, but I still have no time in my popup.

Posted by member 212670 on 2008-04-09 16:27:42 link

Make sure you're loading xStatsClass before xPopup. I just tested *Popup !info "[time('hh:nn:ss')]" and it works for me.

Edit -

Ok, scratch that. I tested it in an older version of xPopup that didn't rely on xStatsClass, and it worked fine.

Edit 2 -

Ok, got it working fine with xStats. You need to load xLabel too. The order of that didn't seem to matter, so long as xStatsClass is loaded first. I find it really odd needing xLabel loaded.

I hate xstats/xpaint.

Posted by member 269067 on 2008-04-10 11:09:34 link

OK you're right, the order has to be correct.

1-xStatsClass
2-xLabel
3-xPopup
4-Everything else...

Still don't know if xStatsClass can load automatically or if it needs to be explicitly stated in theme.rc. i'll test

According to xPopup readme, xPopup gets it's info from xLabel.
That's why there's an 'xLabelLight' module. That's so you can hook info from xLabel without actually using any xLabels.

Posted by member 269067 on 2008-04-10 15:35:24 link

Oh hey, Andymon updated xPopup so it doesn't need xLabel anymore.
xTaskbar updated too.

w00t!

Posted by member 212670 on 2008-04-10 18:38:03 link

Andymon is one of the best things Litestep has going for it. :)