Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1187

Help: Rainmeter Skins • Re: Help

$
0
0
[...] but I was also thinking of changing the form I control the volume, as you told me there's a better way of doing this, but... studying the code you shared about that topic, I realized that it's more focused on the overall volume of the operating system, and not the volume of the WMP itself, so I was wondering if there's any way to apply the method to the WMP directly, and if there's any way of doing the same with the progress bar [...]
Yes, there is a way to get and set the player volume instead of the system volume, see the Options > PlayerType > Volume (to get it) and the Bangs > SetVolume N (to set it) here:
https://docs.rainmeter.net/manual/measures/nowplaying/

Yes, there is a way to do it through a progress bar, see here:
it's just about making a meter as wide as all those [ProgressN] (edit: [VolumeN]) meters, and then setting the player position (edit: volume, see above) to $MouseX:%$ on click (edit: in the meter's LeftMouseUpAction), it's that simple.
https://docs.rainmeter.net/manual/meters/bar/

So, to summarize things, you'll need:
- another NowPlaying measure to get the volume
- a Bar meter referencing the above in its MeasureName, and then in its LeftMouseUpAction commanding the said measure to set the volume to $MouseX:%$, updating the measure and the meter, and redrawing the skin

As for implementing this, it's time to try your luck with this yourself, it's extremely simple, you'll see. ;-)

Statistics: Posted by Yincognito — Today, 3:01 pm



Viewing all articles
Browse latest Browse all 1187

Trending Articles