I'm using this skin, which I modified so that it hardly consumed resources. Its function is very simple; shows the title of a song, the artist who sings it, and the name of the album.
I would like to add scrolling to the title, which is often very long and trunked.
In advance I thank you for any help,
p.s.: I'll leave you the code.
Code: Select all
[Rainmeter]
Update=10
AccurateText=1
BackgroundMode=2
SolidColor=0,0,0,1
OnRefreshAction=[!KeepOnScreen #KeepOnScreen#]
[Metadata]
Name=CoveR Left
Author=NikolaRabra (rabra.deviantart.com)
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=1 (20140909)
[Variables]
@includeVars=#@#Variables.inc
ProgressAlpha=1
Step=-1
Width=80
; Styles ------------------------------------------------------------------------------------------
[StringStyleLarge]
FontFace=Roboto Light
FontColor=#Color#,(255*(#Alpha#))
;FontSize=16
FontSize=26
StringStyle=Normal
StringEffect=None
FontEffectColor=0,0,0,(255*(#Alpha#))
AntiAlias=1
ClipString=1
;SolidColor=0,255,255,100
[StringStyleSmall]
FontFace=Roboto Light
FontColor=#Color#,(255*(#Alpha#))
;FontSize=11
FontSize=21
StringStyle=Normal
StringEffect=None
FontEffectColor=0,0,0,(255*(#Alpha#))
AntiAlias=1
ClipString=1
;SolidColor=255,0,255,100
; Measures ----------------------------------------------------------------------------------------
[MeasureArtist]
Measure=Plugin
Plugin=NowPlaying
PlayerName=CAD
PlayerType=ARTIST
[MeasureAlbum]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[MeasureArtist]
PlayerType=ALBUM
[MeasureTitle]
Measure=Plugin
Plugin=NowPlaying
PlayerName=[MeasureArtist]
PlayerType=TITLE
;[MeasureCover]
;Measure=Plugin
;Plugin=NowPlaying
;PlayerName=[MeasureArtist]
;PlayerType=COVER
;Substitute="":"#@#Images\#NoCover#"
;[MeasureState]
;Measure=Plugin
;Plugin=NowPlaying
;PlayerName=[MeasureArtist]
;PlayerType=STATE
;Substitute="0":"Play.png","1":"Pause.png","2":"Play.png"
;[MeasureStatus]
;Measure=Plugin
;Plugin=NowPlaying
;PlayerName=[MeasureArtist]
;PlayerType=STATUS
;IfEqualValue=0
;IfEqualAction=[!ShowMeterGroup Clock][!Redraw]
;IfAboveValue=0
;IfAboveAction=[!HideMeterGroup Clock][!Redraw]
;Disabled=#ShowClock#
;[MeasureProgress]
;Measure=Plugin
;Plugin=NowPlaying
;PlayerName=[MeasureArtist]
;PlayerType=PROGRESS
;AverageSize=40
;[MeasurePosition]
;Measure=Plugin
;Plugin=NowPlaying
;PlayerName=[MeasureArtist]
;PlayerType=POSITION
;[MeasureDuration]
;Measure=Plugin
;Plugin=NowPlaying
;PlayerName=[MeasureArtist]
;PlayerType=DURATION
;[MeasureRepeat]
;Measure=Plugin
;Plugin=NowPlaying
;PlayerName=[MeasureArtist]
;PlayerType=REPEAT
;IfEqualValue=0
;IfEqualAction=[!SetOption Repeat ImageAlpha 128][!UpdateMeasure MeasureRepeat][!UpdateMeter Repeat][!Redraw]
;IfAboveValue=0
;IfAboveAction=[!SetOption Repeat ImageAlpha 255][!UpdateMeasure MeasureRepeat][!UpdateMeter Repeat][!Redraw]
;[MeasureShuffle]
;Measure=Plugin
;Plugin=NowPlaying
;PlayerName=[MeasureArtist]
;PlayerType=SHUFFLE
;IfEqualValue=0
;IfEqualAction=[!SetOption Shuffle ImageAlpha 128][!UpdateMeasure MeasureShuffle][!UpdateMeter Shuffle][!Redraw]
;IfAboveValue=0
;IfAboveAction=[!SetOption Shuffle ImageAlpha 255][!UpdateMeasure MeasureShuffle][!UpdateMeter Shuffle][!Redraw]
; Info Text ---------------------------------------------------------------------------------------
[Title]
Meter=STRING
MeasureName=MeasureTitle
MeterStyle=StringStyleLarge
StringAlign=LeftBottom
W=#TextWidth#
H=77
;X=170
X=98
;Y=77
Y=67
Text=%1
Group=Info
Hidden=#HideInfo#
UpdateDivider=50
[ArtistAlbum]
Meter=STRING
MeasureName=MeasureArtist
MeasureName2=MeasureAlbum
MeterStyle=StringStyleSmall
StringAlign=LeftTop
Text=%1#CRLF#%2
W=#TextWidth#
H=77
X=r
Y=r
Group=Info
Hidden=#HideInfo#
UpdateDivider=50