It is currently February 23rd, 2024, 2:33 am

Simple Volume Control

Media controls, music players, video and animated visualizers
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Simple Volume Control

Post by CyberTheWorm »

Simple Volume Control
- Click on bar to set volume
- Click on percentage to toggle mute
- Click on device to switch to next device, will scroll round
- Right click to edit variables

Thanks to seahorse for vertical volume click assist
v.PNG
Volume_1.0.0.rmskin
You do not have the required permissions to view the files attached to this post.
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
Bekarfel
Posts: 217
Joined: May 16th, 2012, 5:38 am

Re: Simple Volume Control

Post by Bekarfel »

Now, if you can make a scalable circular knob-like control that'll do this I'd be happy!
moshi wrote:there are many Rainmeter skins that aren't really useful, so let's add another one.
jsmorley wrote:I have good news and bad news.
First the bad news. [...] We would be happy to have this happen and would love to work with anyone who is feeling ambitious.
Now the good news.
I lied, there isn't any good news...
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Simple Volume Control

Post by CyberTheWorm »

Bekarfel wrote:Now, if you can make a scalable circular knob-like control that'll do this I'd be happy!
Interesting idea, give me a bit and see what I can come up with.
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Simple Volume Control

Post by CyberTheWorm »

dvo wrote:i made him Horizontal :P :D
If you are going to use someones skin, at least change the metadata and give the original person credit as I did to seahorse for helping me get the vertical click working.
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Simple Volume Control

Post by CyberTheWorm »

dvo wrote:i didn't change the meta but i will remake it for you credits are to you and seahorse in the installer. i just made it slimmer :)
I really don't care if I get credit, but always change the meta when you edit the code.

By the way you can use this code for clicking a horizontal bar, don't need the extra measure as I did in the vertical one.

See this post by seahorse https://forum.rainmeter.net/viewtopic.php?f=14&t=22161&p=117549&hilit=%24MouseY%3A%25%24#p117549

Code: Select all

[MeterSystemVolumeBar]
Meter=Bar
MeasureName=MeasureVolume
BarImage=#@#\Images\Bar.png
X=100
Y=0
SolidColor=255,255,255,100
BarOrientation=Horizontal
DynamicVariables=1
LeftMouseUpAction=[!CommandMeasure MeasureVolume "SetVolume $MouseX:%$"]
ToolTipText=Left Mouse click to set system volume
The only source of knowledge is experience. Albert Einstein
Deviant Art Page