Switch to the dark side!
Rainy

Rainy

Latest Discussion
2 years ago
2 years ago
2 years ago
2 years ago
More...

Post a new topic



Making a play/pause combination for a winamp utility.

1574
AKH-Arazand says:

How?

I can think of few ways, is there anyway at all to combine these to functions without making it to complicated?

I can think of making a graphic of a Play and Pause symbol in one and make leftmouse click play and rightmouse click pause, but I think people will have a hard time getting used to that.

I've been trying to get this to work for some time and I can only think of a right/left mouse button combination.

Is there anyway to it easier and make these to separate buttons into one? And also just like in most players make it shift graphic when you've clicked the button.

Thanks, any help is appreciated!

05:41 am, Wednesday, April 25, 2007 (2 years ago)
1574
AKH-Arazand says:

After much experimenting and looking around for a skin which had this simple yet hard to find strip of code. Thank you LAvalon and your skin Black Glass.

For all you newbies like as me.
Here how is done without mouseover and highlights.

[MeterPlay]
Meter=IMAGE
X=15
Y=36
ImageName=play.png
LeftMouseDownAction=!execute [!RainmeterPluginBang "MeasureWA SendMessage 273 40045 0"][!RainmeterHideMeter MeterPlay][!RainmeterShowMeter MeterPause][!RainmeterRedraw]

[MeterPause]
Meter=IMAGE
X=15
Y=36
ImageName=pause.png
LeftMouseDownAction=!execute [!RainmeterPluginBang "MeasureWA SendMessage 273 40046 0"][!RainmeterHideMeter MeterPause][!RainmeterShowMeter MeterPlay][!RainmeterRedraw]
Hidden=1

Check out Black Glass http://customize.org/rainmeter/skins/48761
and that code for the solution with highlight and mouseover functions!

06:40 am (2 years ago)
 

Reply to this topic

You must register and become a member to post a reply.