Hello guys
I've pulled the piece of code below from another skin and I've been trying to accomplish 2 things for the past couple of hours... but no luck...
1- there is a part on the code which is supposed to substitute "None" for " Nothing Playing" but is not doing it....
2- Is there a way to stop the song info scrolling when the player is not playing..? eclectic tech mentions in a forum visualizers are resource consuming widgets so it will be better idea to aim to measure a "process" to achieve that instead of just hiding a skin which it will remain consuming precious resources when the player is idling in pause.... which by the way is WMP in my case
as always thanks in advance for your assistance
I've pulled the piece of code below from another skin and I've been trying to accomplish 2 things for the past couple of hours... but no luck...
1- there is a part on the code which is supposed to substitute "None" for " Nothing Playing" but is not doing it....
2- Is there a way to stop the song info scrolling when the player is not playing..? eclectic tech mentions in a forum visualizers are resource consuming widgets so it will be better idea to aim to measure a "process" to achieve that instead of just hiding a skin which it will remain consuming precious resources when the player is idling in pause.... which by the way is WMP in my case
as always thanks in advance for your assistance
Code:
[Rainmeter]Update=25DynamicWindowSize=1AccurateText=1[Variables]PlayerName=WMPDelay=3000---Measures---[Title]Measure=PluginPlugin=NowPlaying.dllPlayerName=WMPPlayerType=TitleRegExpSubstitute=1Substitute="^$":"None"OnChangeAction=[!DisableMeasure Position][!UpdateMeasure Position][!UpdateMeter Text][!Redraw][!EnableMeasure Position][Artist]Measure=PluginPlugin=NowPlaying.dllPlayerName=WMPPlayerType=ArtistRegExpSubstitute=1Substitute="^$":"None"[Album]Measure=PluginPlugin=NowPlaying.dllPlayerName=WMPPlayerType=AlbumRegExpSubstitute=1Substitute="^$":"None"; [Info]; Measure=String; String=[Title] - [Artist] - [Album]; RegExpSubstitute=1; Substitute="^None - None - None$":"Nothing Playing"; OnChangeAction=[!DisableMeasure Position][!UpdateMeasure Position][!UpdateMeter Text][!Redraw][!EnableMeasure Position]; DynamicVariables=1[Position]Measure=CalcFormula=[Position]+2IfCondition=[Text:X]<(-[Text:W])IfTrueAction=[!DisableMeasure Position][!UpdateMeasure Position][!EnableMeasure Position]DynamicVariables=1---Meters---[Shape]Meter=ShapeShape=Rectangle 1,1,550,23 | Fill Color 0,0,0,1 | StrokeWidth 1 | Stroke Color 0,0,0,1[Container]Meter=ImageX=1Y=1W=550H=25SolidColor=0,0,0,255[Text]Container=ContainerMeter=StringX=([Container:W]-[Position])Y=1FontFace=Helvetica Neue FontSize=15FontColor=255,255,255,255AntiAlias=1Text=[Title] - [Artist] - [Album]DynamicVariables=1
Statistics: Posted by jadiazrod — Today, 7:25 pm — Replies 1 — Views 31