It is currently March 28th, 2024, 2:05 pm

Change progress of music

Get help with creating, editing & fixing problems with skins
Post Reply
User avatar
deXxterlab97
Posts: 93
Joined: February 5th, 2017, 4:50 am
Contact:

Change progress of music

Post by deXxterlab97 »

I have a simply bar that displays the progress of the current music but how would I make it so I can click on the bar and have it change time (like when most music player you can click on the play bar and it will go to that time)

Code: Select all

[mPlayer]
Measure=Plugin
Plugin=NowPlaying
PlayerName=#PlayerName#
PlayerType=TITLE
Substitute="":"No title info"

[mProgress]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[mPlayer]
PlayerType=PROGRESS

[Bar Background]
Meter=Image
X=-15
Y=30
H=3
W=285
SolidColor=#BackBarColor#

[MeterBar]
Meter=Bar
MeasureName=mProgress
X=-15
Y=30
H=3
W=285
BarColor=#BarColor#
BarOrientation=Horizontal
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: Change progress of music

Post by CyberTheWorm »

I think something like this should work. See this link https://docs.rainmeter.net/manual-beta/variables/mouse-variables/ I does work in 4.0 too

Code: Select all

LeftMouseUpAction=[!CommandMeasure mPlayer "SetPosition $MouseX:%$"]
User avatar
deXxterlab97
Posts: 93
Joined: February 5th, 2017, 4:50 am
Contact:

Re: Change progress of music

Post by deXxterlab97 »

CyberTheWorm wrote:I think something like this should work. See this link https://docs.rainmeter.net/manual-beta/variables/mouse-variables/ I does work in 4.0 too

Code: Select all

LeftMouseUpAction=[!CommandMeasure mPlayer "SetPosition $MouseX:%$"]
ty i will see
Post Reply