level 3
陈催糖-
楼主
我想做到点击那个绿条条控制音乐上一首,点击红条条是暂停开始,点击黄条条是下一首

但是我直接在节点下面添加鼠标动作并不管用,(就像下面这样,加了红框里的)

————————————————————
下面贴代码(是我已经改过一部分的,为了显示歌曲名和艺术家)
————————————————————
[Rainmeter]
Update=0
Author=Connect-R
DynamicWindowSize=1
BackgroundMode=2
SolidColor=0,0,0,1
SkinHeight=50
MouseScrollUpAction=[!SetVariable Scale "(
#Scale#
+
#ScrollMouseIncrement#
)"][!WriteKeyValue Variables Scale "(
#Scale#
+
#ScrollMouseIncrement#
)"][!Refresh]
MouseScrollDownAction=[!SetVariable Scale "(
#Scale#
-
#ScrollMouseIncrement#
< 1 ? 1 :
#Scale#
-
#ScrollMouseIncrement#
)"][!WriteKeyValue Variables Scale "(
#Scale#
-
#ScrollMouseIncrement#
< 1 ? 1 :
#Scale#
-
#ScrollMouseIncrement#
)"][!Refresh]
[Metadata]
Name=
Author=
Information=
License=
Version=
[Variables]
@include=#@#Variables.inc
AverageSize=6
Size=2.5
Space=9
BarWidth=#Size#
BarHeight=100
Angle=90;
-------------------------------------------------------------
;-------------------------------------------------------------
[MeasureAudioOutput]
Measure=Plugin
Plugin=AudioLevel
Port=Output
FFTSize=1024
FFTOverlap=512
FFTAttack=0
FFTDecay=100
FreqMin=30
FreqMax=16500
Sensitivity=15
Bands=4;
------------------------------------------------------------
;-------------------------------------------------------------
[MeasurePlayer]
Measure=Plugin
Plugin=MusicPlayer.dll
PlayerName=#Player#
PlayerType=TITLE
[MeasureArtist]
Measure=Plugin
Plugin=MusicPlayer.dll
PlayerName=#Player#
PlayerType=ARTIST
Substitue="":""
[MeasureTitle]
Measure=Plugin
Plugin=MusicPlayer.dll
PlayerName=#Player#
PlayerType=TITLE
Substitue="":""[MeasureTrack]
Measure=Plugin
Plugin=MusicPlayer.dll
PlayerName=[MeasurePlayer]
PlayerType=TITLE
[MeasureAlbum]
Measure=Plugin
Plugin=MusicPlayer.dll
PlayerName=#Player#
PlayerType=ALBUM
Substitue="":""
[MeasureProgress]
Measure=Plugin
Plugin=MusicPlayer.dll
PlayerName=#Player#
PlayerType=PROGRESS
[MeasureDuration]
Measure=Plugin
Plugin=MusicPlayer.dll
PlayerName=#Player#
PlayerType=DURATION
[MeasurePosition]
Measure=Plugin
Plugin=MusicPlayer.dll
PlayerName=#Player#
PlayerType=POSITION
[MeasureStateButton]
Measure=Plugin
Plugin=MusicPlayer.dll
PlayerName=#Player#
PlayerType=STATE
Substitute="0":"#@#Play.png","1":"#@#Pause.png","2":"#@#Play.png";
-------------------------------------------------------------
;-------------------------------------------------------------
[MeasureAudio1]
Measure=Plugin
Plugin=AudioLevel
Parent=MeasureAudioOutput
Type=Band
BandIdx=1
AverageSize=#AverageSize#
AntiAlias=1
LeftMouseUpAction=[!PluginBang "MeasureStateButton Next"]
[MeasureAudio2]
Measure=Plugin
Plugin=AudioLevel
Parent=MeasureAudioOutput
Type=Band
BandIdx=2
AverageSize=#AverageSize#
[MeasureAudio3]
Measure=Plugin
Plugin=AudioLevel
Parent=MeasureAudioOutput
Type=Band
BandIdx=3
AverageSize=#AverageSize#;
-------------------------------------------------------------
;-------------------------------------------------------------
[MeterSeparation]
X=#Space#R
Y=(1.8*(#BarHeight#))
TransformationMatrix=(Cos(Rad(#Angle#)));(-Sin(Rad(#Angle#)));(Sin(Rad(#Angle#)));(Cos(Rad(#Angle#)));(-70*Sin(Rad(#Angle#)));(55-55*Cos(Rad(#Angle#)))
DynamicVariables=1
;-------------------------------------------------------------
;-------------------------------------------------------------
[MeterBar1]
Meter=Shape
MeterStyle=MeterSeparation
Shape=Rectangle 0,0,(#BarWidth#*#Size#),(-(#BarHeight#-(#BarWidth#*#Size#))*[MeasureAudio1]-(#BarWidth#*#Size#)),((#BarWidth#*#Size#)/2) | Fill Color 255,165,0| StrokeWidth 0
[MeterBar2]
Meter=Shape
MeterStyle=MeterSeparation
Shape=Rectangle 0,0,(#BarWidth#*#Size#),(-(#BarHeight#-(#BarWidth#*#Size#))*[MeasureAudio2]-(#BarWidth#*#Size#)),((#BarWidth#*#Size#)/2) | Fill Color 255,0,0 | StrokeWidth 0
[MeterBar3]
Meter=Shape
MeterStyle=MeterSeparation
Shape=Rectangle 0,0,(#BarWidth#*#Size#),(-(#BarHeight#-(#BarWidth#*#Size#))*[MeasureAudio3]-(#BarWidth#*#Size#)),((#BarWidth#*#Size#)/2) | Fill Color 1,80,60 | StrokeWidth 0
;-------------------------------------------------------------
;-------------------------------------------------------------
[MeterArtistInfo]
Meter=String
MeasureName=MeasureTitle
FontColor=0,0,0
FontFace=BIRTH OF A HERO
FontSize=16
X=120
Y=5
Text="%1"
AntiAlias=1[MeterTrackInfo]
Meter=String
MeasureName=MeasureArtist
FontColor=0,0,0
FontFace=BIRTH OF A HERO
FontSize=13
X=r
Y=25r
Text="%1"
AntiAlias=1
2020年06月14日 08点06分
1

但是我直接在节点下面添加鼠标动作并不管用,(就像下面这样,加了红框里的)
————————————————————下面贴代码(是我已经改过一部分的,为了显示歌曲名和艺术家)
————————————————————
[Rainmeter]
Update=0
Author=Connect-R
DynamicWindowSize=1
BackgroundMode=2
SolidColor=0,0,0,1
SkinHeight=50
MouseScrollUpAction=[!SetVariable Scale "(
#Scale#
+
#ScrollMouseIncrement#
)"][!WriteKeyValue Variables Scale "(
#Scale#
+
#ScrollMouseIncrement#
)"][!Refresh]
MouseScrollDownAction=[!SetVariable Scale "(
#Scale#
-
#ScrollMouseIncrement#
< 1 ? 1 :
#Scale#
-
#ScrollMouseIncrement#
)"][!WriteKeyValue Variables Scale "(
#Scale#
-
#ScrollMouseIncrement#
< 1 ? 1 :
#Scale#
-
#ScrollMouseIncrement#
)"][!Refresh]
[Metadata]
Name=
Author=
Information=
License=
Version=
[Variables]
@include=#@#Variables.inc
AverageSize=6
Size=2.5
Space=9
BarWidth=#Size#
BarHeight=100
Angle=90;
-------------------------------------------------------------
;-------------------------------------------------------------
[MeasureAudioOutput]
Measure=Plugin
Plugin=AudioLevel
Port=Output
FFTSize=1024
FFTOverlap=512
FFTAttack=0
FFTDecay=100
FreqMin=30
FreqMax=16500
Sensitivity=15
Bands=4;
------------------------------------------------------------
;-------------------------------------------------------------
[MeasurePlayer]
Measure=Plugin
Plugin=MusicPlayer.dll
PlayerName=#Player#
PlayerType=TITLE
[MeasureArtist]
Measure=Plugin
Plugin=MusicPlayer.dll
PlayerName=#Player#
PlayerType=ARTIST
Substitue="":""
[MeasureTitle]
Measure=Plugin
Plugin=MusicPlayer.dll
PlayerName=#Player#
PlayerType=TITLE
Substitue="":""[MeasureTrack]
Measure=Plugin
Plugin=MusicPlayer.dll
PlayerName=[MeasurePlayer]
PlayerType=TITLE
[MeasureAlbum]
Measure=Plugin
Plugin=MusicPlayer.dll
PlayerName=#Player#
PlayerType=ALBUM
Substitue="":""
[MeasureProgress]
Measure=Plugin
Plugin=MusicPlayer.dll
PlayerName=#Player#
PlayerType=PROGRESS
[MeasureDuration]
Measure=Plugin
Plugin=MusicPlayer.dll
PlayerName=#Player#
PlayerType=DURATION
[MeasurePosition]
Measure=Plugin
Plugin=MusicPlayer.dll
PlayerName=#Player#
PlayerType=POSITION
[MeasureStateButton]
Measure=Plugin
Plugin=MusicPlayer.dll
PlayerName=#Player#
PlayerType=STATE
Substitute="0":"#@#Play.png","1":"#@#Pause.png","2":"#@#Play.png";
-------------------------------------------------------------
;-------------------------------------------------------------
[MeasureAudio1]
Measure=Plugin
Plugin=AudioLevel
Parent=MeasureAudioOutput
Type=Band
BandIdx=1
AverageSize=#AverageSize#
AntiAlias=1
LeftMouseUpAction=[!PluginBang "MeasureStateButton Next"]
[MeasureAudio2]
Measure=Plugin
Plugin=AudioLevel
Parent=MeasureAudioOutput
Type=Band
BandIdx=2
AverageSize=#AverageSize#
[MeasureAudio3]
Measure=Plugin
Plugin=AudioLevel
Parent=MeasureAudioOutput
Type=Band
BandIdx=3
AverageSize=#AverageSize#;
-------------------------------------------------------------
;-------------------------------------------------------------
[MeterSeparation]
X=#Space#R
Y=(1.8*(#BarHeight#))
TransformationMatrix=(Cos(Rad(#Angle#)));(-Sin(Rad(#Angle#)));(Sin(Rad(#Angle#)));(Cos(Rad(#Angle#)));(-70*Sin(Rad(#Angle#)));(55-55*Cos(Rad(#Angle#)))
DynamicVariables=1
;-------------------------------------------------------------
;-------------------------------------------------------------
[MeterBar1]
Meter=Shape
MeterStyle=MeterSeparation
Shape=Rectangle 0,0,(#BarWidth#*#Size#),(-(#BarHeight#-(#BarWidth#*#Size#))*[MeasureAudio1]-(#BarWidth#*#Size#)),((#BarWidth#*#Size#)/2) | Fill Color 255,165,0| StrokeWidth 0
[MeterBar2]
Meter=Shape
MeterStyle=MeterSeparation
Shape=Rectangle 0,0,(#BarWidth#*#Size#),(-(#BarHeight#-(#BarWidth#*#Size#))*[MeasureAudio2]-(#BarWidth#*#Size#)),((#BarWidth#*#Size#)/2) | Fill Color 255,0,0 | StrokeWidth 0
[MeterBar3]
Meter=Shape
MeterStyle=MeterSeparation
Shape=Rectangle 0,0,(#BarWidth#*#Size#),(-(#BarHeight#-(#BarWidth#*#Size#))*[MeasureAudio3]-(#BarWidth#*#Size#)),((#BarWidth#*#Size#)/2) | Fill Color 1,80,60 | StrokeWidth 0
;-------------------------------------------------------------
;-------------------------------------------------------------
[MeterArtistInfo]
Meter=String
MeasureName=MeasureTitle
FontColor=0,0,0
FontFace=BIRTH OF A HERO
FontSize=16
X=120
Y=5
Text="%1"
AntiAlias=1[MeterTrackInfo]
Meter=String
MeasureName=MeasureArtist
FontColor=0,0,0
FontFace=BIRTH OF A HERO
FontSize=13
X=r
Y=25r
Text="%1"
AntiAlias=1





