Page 1 of 1

Change progress of music

Posted: March 26th, 2017, 4:30 am
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

Re: Change progress of music

Posted: March 26th, 2017, 6:39 am
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:%$"]

Re: Change progress of music

Posted: March 28th, 2017, 4:38 am
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