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

Help: Rainmeter Skins • Re: Using IfMatch on Skin Paths

$
0
0
The easiest fix is to change all backslashes to either forward slashes or double backslashes; i.e., "C:/Users/..." or "C:\\Users\\..." You'll need to do that for the both the current path and the "variable path".

Code:

[currPath]Measure=StringString=#CURRENTPATH#Substitute="\":"/"[mPath];This measure compares the current VariablePath against CurrentPath and determines if it's necessary to write it or not.Measure=StringString=#VariablePath#Substitute="":"N/A","\":"/"IfMatch=[currPath]IfMatchAction=[!DisableMeasure wPath]IfNotMatchAction=[!EnableMeasure wPath][!UpdateMeasure wPath]DynamicVariables=1
P.S.: Get rid of the RegExpSubstitute=1 line. For what you are doing, you don't need it.

Statistics: Posted by SilverAzide — Today, 1:30 am



Viewing all articles
Browse latest Browse all 1472

Trending Articles