It is currently May 7th, 2024, 12:30 pm

Multiple image swaps on state change (Winamp)

Get help with creating, editing & fixing problems with skins
User avatar
daikirai
Posts: 3
Joined: February 26th, 2012, 9:22 pm

Multiple image swaps on state change (Winamp)

Post by daikirai »

I have it worked out so far where I can play one image based on Winamp being open, and another when Winamp is closed, but I'm trying to figure a way to play a 3rd image if Winamp is paused.

The state change code I have is:

Code: Select all

[mState]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=Winamp
PlayerType=STATE
IfEqualValue=0
IfEqualAction=!Execute [!HideMeter Icon] [!ShowMeter Iconalt]
IfAboveValue=
IfAboveAction=!Execute [!ShowMeter Icon] [!HideMeter Iconalt]

I have IfAboveValue= blank because when I add 1 (For play) it doesn't change the image for whatever reason. So I tried to add this:

Code: Select all

[mState]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=Winamp
PlayerType=STATE
IfEqualValue=0
IfEqualAction=!Execute [!HideMeter Icon] [!ShowMeter Iconalt]
IfAboveValue=
IfAboveAction=!Execute [!ShowMeter Icon] [!HideMeter Iconalt]
IfEqualValue=2
IfEqualAction=!Execute [!ShowMeter Iconalt] [!HideMeter Icon]
2 is supposed to be paused correct? I'm not sure what I'm doing wrong since I'm pretty much new to all this. I've been able to dissect some things but for the most part I'm in over my head.

I am using it all for:
http://imgur.com/a/6djIw
User avatar
daikirai
Posts: 3
Joined: February 26th, 2012, 9:22 pm

Re: Multiple image swaps on state change (Winamp)

Post by daikirai »

Nevermind, read up on ifActions and got it working, I apparently did it all wrong to start