Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 720

Problem activating config

$
0
0
I thought my Skin Launcher was sorted but recently I tried using it and found it had an issue so decided to try fix it.
But I just can't understand what's going wrong. I've used Mouse actions to determine the path to variables, which are completely correct, yet it refuses to activate the config. Could someone tell me what's wrong please.

Essentially all the FileView meters are controlled from the [sName] style section. I used a MouseOverAction to set Variables that can be seen in the Log and show the full path and file with extension, but using this exact same code on a Right click action to activate the config is just giving me an error!

Here's the meter style code:

Code:

[sName]MeasureName=m#CURRENTSECTION#FontSize=10Padding=30,0,0,0SolidColor=0,0,0,1AutoScale=1Text="%1"DynamicVariables=1MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "#AquaDark#"][!SetVariable Config #SkinsPath#[mPath][m[#CURRENTSECTION]]][!UpdateMeter #CURRENTSECTION#][!Redraw]MouseLeaveAction=[!SetOption #CURRENTSECTION# SolidColor ""][!UpdateMeter #CURRENTSECTION#][!Redraw]LeftMouseUpAction=[!SetVariable Path [mPath]]LeftMouseDoubleClickAction=[!CommandMeasure m#CURRENTSECTION# "FollowPath"][!UpdateMeasure mPath][!UpdateMeasureGroup Children][!UpdateMeter *][!Redraw]MiddleMouseUpAction=RightMouseUpAction=[!ToggleConfig "#SkinsPath#[mPath][m[#CURRENTSECTION]]"]X=-21RY=1rW=196H=([1Icon:H] > [1Name:H] ? [1Icon:H] : [1Name:H])
And the full code:

Code:

[Rainmeter]Update=500MouseActionCursor=0X1MouseUpAction=[!CommandMeasure mPath "PreviousFolder"][!UpdateMeasure mPath][!UpdateMeasureGroup Children][!UpdateMeter *][!Redraw][Metadata]Name=Skin LauncherAuthor=sl23Information=Skin LauncherVersion=2024.7.08License=CC BY 3.0[Variables]IconSize=SmallAquaDark=0,255,255,60BgFill=0,0,0,150Green=128,255,0Orange=255,170,0,80White=255,255,255,180White100=255,255,255,150Yellow=255,255,0========================================; Background========================================[Bg]Meter=ShapeShape=Rectangle 0,0,250,290,15 | Fill Color 0,0,0,200 | StrokeWidth 2 | Stroke Color #White100#Shape2=Rectangle 12,42,228,2,2 | Fill Color #White100#MouseScrollUpAction=[!CommandMeasure mPath "IndexUp"][!UpdateMeasure mPath][!UpdateMeasureGroup Children][!UpdateMeter *][!Redraw]MouseScrollDownAction=[!CommandMeasure mPath "IndexDown"][!UpdateMeasure mPath][!UpdateMeasureGroup Children][!UpdateMeter *][!Redraw]DynamicVariables=1X=1Y=1========================================; STYLES========================================[sAllText]FontFace=Trebuchet MSFontSize=9FontColor=#White#AntiAlias=1DynamicVariables=1[TextHighlight]FontColor=#Yellow#[sIcon]MeasureName=m#CURRENTSECTION#AntiAlias=1X=15Y=3RW=20H=20[sName]MeasureName=m#CURRENTSECTION#FontSize=10Padding=30,0,0,0SolidColor=0,0,0,1AutoScale=1Text="%1"DynamicVariables=1MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "#AquaDark#"][!SetVariable Config #SkinsPath#[mPath][m[#CURRENTSECTION]]][!UpdateMeter #CURRENTSECTION#][!Redraw]MouseLeaveAction=[!SetOption #CURRENTSECTION# SolidColor ""][!UpdateMeter #CURRENTSECTION#][!Redraw]LeftMouseUpAction=[!SetVariable Path [mPath]]LeftMouseDoubleClickAction=[!CommandMeasure m#CURRENTSECTION# "FollowPath"][!UpdateMeasure mPath][!UpdateMeasureGroup Children][!UpdateMeter *][!Redraw]MiddleMouseUpAction=RightMouseUpAction=[!ToggleConfig "#SkinsPath#[mPath][m[#CURRENTSECTION]]"]X=-21RY=1rW=196H=([1Icon:H] > [1Name:H] ? [1Icon:H] : [1Name:H])========================================; INFO========================================[Button]Meter=StringMeterStyle=sAllTextStringStyle=BoldFontFace=Segoe Fluent IconsFontSize=12Text=[\xE760]LeftMouseUpAction=[!CommandMeasure mPath "PreviousFolder"][!UpdateMeasure mPath][!UpdateMeter *][!Redraw]MiddleMouseUpAction=[!Refresh]MouseOverAction=[!SetOption #CURRENTSECTION# FontColor "#Green#"] [!UpdateMeter #CURRENTSECTION#] [!Redraw]MouseLeaveAction=[!SetOption #CURRENTSECTION# FontColor ""] [!UpdateMeter #CURRENTSECTION#] [!Redraw]ToolTipText="L - Back#CRLF#M - Refresh"X=12Y=9[mPath]Measure=PluginPlugin=FileViewPath="#SkinsPath#"ShowDotDot=0Count=10Group=ChildrenSubstitute="#SkinsPath#":""FinishAction=[!UpdateMeasureGroup Children]IfMatch=^$IfMatchAction=[!SetOption FilePath Text "Rainmeter Skins Folder"][!DisableMouseAction Button "LeftMouseUpAction"][!UpdateMeter Button]IfNotMatchAction=[!SetOption FilePath Text ""][!EnableMouseAction Button "LeftMouseUpAction"][!UpdateMeter Button][mFolderCount]Measure=PluginPlugin=FileViewPath=[mPath]Type=FolderCountGroup=Children[mFileCount]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileCountGroup=Children[FilePath]Meter=StringMeasureName=mPathMeterStyle=sAllText | TextHighlightText=[mPath]ToolTipIcon=InfoToolTipTitle=Rainmeter\Skins\[mPath]ToolTipText=L - Open FolderLeftMouseUpAction=#SkinsPath#[mPath]X=RY=1rW=180ClipString=1[FolderCountTitle]Meter=StringMeterStyle=sAllTextX=13Y=27Text=Folders:[FolderCount]Meter=StringMeasureName=mFolderCountMeterStyle=sAllText | TextHighlightX=RY=r[FileCountTitle]Meter=StringMeterStyle=sAllTextX=10RY=rText=Files:[FileCount]Meter=StringMeasureName=mFileCountMeterStyle=sAllText | TextHighlightX=RY=r========================================; FILE VIEW========================================; Index 1  ----------------------------------------------------[m1Name]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileNameIndex=1Group=Children[m1Icon]Measure=PluginPlugin=FileViewPath=[mPath]Type=IconIconSize=#IconSize#Index=1Group=ChildrenIfMatch=^$IfMatchAction=[!HideMeter 1Name][!UpdateMeter 1Name]IfNotMatchAction=[!ShowMeter 1Name][!UpdateMeter 1Name]; Index 2  ----------------------------------------------------[m2Name]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileNameIndex=2Group=Children[m2Icon]Measure=PluginPlugin=FileViewPath=[mPath]Type=IconIconSize=#IconSize#Index=2Group=ChildrenIfMatch=^$IfMatchAction=[!HideMeter 2Name][!UpdateMeter 2Name]IfNotMatchAction=[!ShowMeter 2Name][!UpdateMeter 2Name]; Index 3  ----------------------------------------------------[m3Name]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileNameIndex=3Group=Children[m3Icon]Measure=PluginPlugin=FileViewPath=[mPath]Type=IconIconSize=#IconSize#Index=3Group=ChildrenIfMatch=^$IfMatchAction=[!HideMeter 3Name][!UpdateMeter 3Name]IfNotMatchAction=[!ShowMeter 3Name][!UpdateMeter 3Name]; Index 4  ----------------------------------------------------[m4Name]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileNameIndex=4Group=Children[m4Icon]Measure=PluginPlugin=FileViewPath=[mPath]Type=IconIconSize=#IconSize#Index=4Group=ChildrenIfMatch=^$IfMatchAction=[!HideMeter 4Name][!UpdateMeter 4Name]IfNotMatchAction=[!ShowMeter 4Name][!UpdateMeter 4Name]; Index 5  ----------------------------------------------------[m5Name]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileNameIndex=5Group=Children[m5Icon]Measure=PluginPlugin=FileViewPath=[mPath]Type=IconIconSize=#IconSize#Index=5Group=ChildrenIfMatch=^$IfMatchAction=[!HideMeter 5Name][!UpdateMeter 5Name]IfNotMatchAction=[!ShowMeter 5Name][!UpdateMeter 5Name]; Index 6  ----------------------------------------------------[m6Name]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileNameIndex=6Group=Children[m6Icon]Measure=PluginPlugin=FileViewPath=[mPath]Type=IconIconSize=#IconSize#Index=6Group=ChildrenIfMatch=^$IfMatchAction=[!HideMeter 6Name][!UpdateMeter 6Name]IfNotMatchAction=[!ShowMeter 6Name][!UpdateMeter 6Name]; Index 7  ----------------------------------------------------[m7Name]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileNameIndex=7Group=Children[m7Icon]Measure=PluginPlugin=FileViewPath=[mPath]Type=IconIconSize=#IconSize#Index=7Group=ChildrenIfMatch=^$IfMatchAction=[!HideMeter 7Name][!UpdateMeter 7Name]IfNotMatchAction=[!ShowMeter 7Name][!UpdateMeter 7Name]; Index 8  ----------------------------------------------------[m8Name]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileNameIndex=8Group=Children[m8Icon]Measure=PluginPlugin=FileViewPath=[mPath]Type=IconIconSize=#IconSize#Index=8Group=ChildrenIfMatch=^$IfMatchAction=[!HideMeter 8Name][!UpdateMeter 8Name]IfNotMatchAction=[!ShowMeter 8Name][!UpdateMeter 8Name]; Index 9  ----------------------------------------------------[m9Name]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileNameIndex=9Group=Children[m9Icon]Measure=PluginPlugin=FileViewPath=[mPath]Type=IconIconSize=#IconSize#Index=9Group=ChildrenIfMatch=^$IfMatchAction=[!HideMeter 9Name][!UpdateMeter 9Name]IfNotMatchAction=[!ShowMeter 9Name][!UpdateMeter 9Name]; Index 10  ----------------------------------------------------[m10Name]Measure=PluginPlugin=FileViewPath=[mPath]Type=FileNameIndex=10Group=Children[m10Icon]Measure=PluginPlugin=FileViewPath=[mPath]Type=IconIconSize=#IconSize#Index=10Group=ChildrenIfMatch=^$IfMatchAction=[!HideMeter 10Name][!UpdateMeter 10Name]IfNotMatchAction=[!ShowMeter 10Name][!UpdateMeter 10Name][1Icon]Meter=ImageMeterStyle=sIconY=5R[1Name]Meter=StringMeterStyle=sAllText | sName | sHighlight2;----------------------------[2Icon]Meter=ImageMeasureName=m2IconMeterStyle=sIcon[2Name]Meter=StringMeterStyle=sAllText | sName | sHighlight2;----------------------------[3Icon]Meter=ImageMeterStyle=sIcon[3Name]Meter=StringMeterStyle=sAllText | sName | sHighlight2;----------------------------[4Icon]Meter=ImageMeterStyle=sIcon[4Name]Meter=StringMeterStyle=sAllText | sName | sHighlight2;----------------------------[5Icon]Meter=ImageMeterStyle=sIcon[5Name]Meter=StringMeterStyle=sAllText | sName | sHighlight2;----------------------------[6Icon]Meter=ImageMeterStyle=sIcon[6Name]Meter=StringMeterStyle=sAllText | sName | sHighlight2;----------------------------[7Icon]Meter=ImageMeterStyle=sIcon[7Name]Meter=StringMeterStyle=sAllText | sName | sHighlight2;----------------------------[8Icon]Meter=ImageMeterStyle=sIcon[8Name]Meter=StringMeterStyle=sAllText | sName | sHighlight2;----------------------------[9Icon]Meter=ImageMeterStyle=sIcon[9Name]Meter=StringMeterStyle=sAllText | sName | sHighlight2;----------------------------[10Icon]Meter=ImageMeterStyle=sIcon[10Name]Meter=StringMeterStyle=sAllText | sName | sHighlight2
What amazes me is that there's been 283 downloads and not one person thought to mention it! :rolmfao:

Statistics: Posted by sl23 — Yesterday, 5:27 pm — Replies 6 — Views 105



Viewing all articles
Browse latest Browse all 720

Trending Articles