Support and General Use > Theming and Appearance Customization

Volume keys change text color?

(1/1)

Elaphe:
I have this in my .sbs for volume:


--- Code: ---# Volume level with overdrive check
%V(1,0,33,6,3) %Vf(ffffff)
%ar%?if(%pv,>,0)<
%t(0.2)%pvdB;%t(0.2)!!!|
%pvdB>
--- End code ---

Now, I'd like to add something to the wps so that when the user presses the volume buttons, the text of it changes to green. I know somrthing similar can be done, because I've found this code which shows a dynamic graphic bar when the user presses the volume buttons:


--- Code: ---# Graphic Volume
%xl(v,volume.bmp,0,0)
%?mv<%Vd(v)|>
%Vl(v,0,93,96,-,-)
%pv(0,0,96,3,v)
--- End code ---

Navigation

[0] Message Index

Go to full version