Support and General Use > Theming and Appearance Customization

Difficulty putting together several conditions.

(1/1)

KiwiCam:
I'd like to do the following, but can't figure out how.

If volume is changing then display volume progress bar:


--- Code: ---%Vl(g,53,32,65,8,6)


%?mv(1.0)<%pv(7,3,41,5,backdrop,J,image,I)
--- End code ---

If no Volume, but Sleep is active:


--- Code: ---%?if(%bs,>,0)<%t(2)%acSLEEP;%t(2)%ac%bs>
--- End code ---

Otherwise show Icons for Shuffle/Repeat Mode:


--- Code: ---%?mm<%?ps<%xd(Da)>|%?ps<%xd(Db)|%xd(Dc)>|%xd(Dd)|%?ps<%xd(De)|%xd(Dc)>|%xd(Df)>>
--- End code ---

OR Switch between the Second two if Volume isn't changing.

Can someone please advise how to achieve this? I can get Volume and Sleep to work, or Volume and Shuffle/Repeat, but not them both. I did actually have this working at one stage, but I lost my original work and I'm stumped   :'(

[Saint]:
This should do the trick...

%?mv(1.0)<%pv(7,3,41,5,backdrop,J,image,I)|%?if(%bs,>,0)<%t(2)%acSLEEP;%t(2)%ac%bs|%?mm<%?ps<%xd(Da)>|%?ps<%xd(Db)|%xd(Dc)>|%xd(Dd)|%?ps<%xd(De)|%xd(Dc)>|%xd(Df)>>>

KiwiCam:
Thanks Saint. Greatly appreciated.

Navigation

[0] Message Index

Go to full version