Alright, so I'm using a theme that doesn't have a Winamp Status bar. That's not a problem. Also, not a problem controlling Winamp, I've figured that out pretty quickly. Now, what I want to do next is this: When I change songs, I want a label to show what song I'm currently on and I need the box to stay up for... say 10 seconds (perhaps in the middle of the screen and slight transparency, both optional.) Sort of want it to be like the window that comes up when you use ALT+Tab. I would be grateful to anyone who could show me how to do this.
Thanks ahead of time.
xlabel 3.4.5 will do this
and use timer for the 10sec deal
yeah, i had already tried that and ran into some problems with hotkeys. any way to have them execute two bangs at the same time?
Actually, xlabel will also do the 10 second timer. See the "bang" secton of the help for how.
Multiple bangs are executed by doing
and so on.
hmm. thanks xcal. could have sworn i tried that, but it can't hurt to try again. too late to do it tonight, but i'll update tomorrow evening.
One wonders if xLabel's showhide feature allows interruptions.. that is, if you switch amongst multiple songs within 10 seconds, will it reset the hiding timer per switch? That is the argument for using timer-0.5 and scripting to coordinate it.
Interestingly enough, you could still just use xLabel if you used the song's current time for it :). On song change, show label, when song time in seconds > 9, hide. However, a script from LSLua or MZScript would be a lot easier to edit, debug, and read in general than xLabel's conditionals.
tnl: Ya, xlabel will refresh. The theme I'm messing with right now actually has 8 buttons that all share the same hideshow label. Each button changes the label's text and hideshows it. I can click through them all one after another before the timer is up, and the label still fades out when it should. Would work the same for an ontextchange event, I would think.