I would check your skin only if it was really needed in order to make things work, as generally it's easier and more effective to explain or do things in simple bits of code that can be both written and understood without much effort. So with this in mind, the following code works for me, even without magic quotes (create an empty Variables.inc file in your @Resources folder to see what's written in it by this code):
Code: Select all
[Variables]
ButtonN=8
MouseButton=LMD
B8_4_LMD=#@#Scripts\FF_Left_Window.exe
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[MeasureVAR_4]
Measure=String
String=[#B[#ButtonN]_4_[#MouseButton]]
UpdateDivider=-1
RegExpSubstitute=1
Substitute="^.*@Resources\\":"#*@*#"
[MeasureInput]
Measure=Plugin
Plugin=InputText
SolidColor=76A0E8FF
FontColor=255,255,255,255
FontFace=Segoe UI
StringStyle=Italic
FontSize=14
X=5
Y=5
H=25
W=400
DefaultValue=[MeasureVAR_4]
Command1=[!WriteKeyValue Variables "B#ButtonN#_4_#MouseButton#" "$UserInput$" "#@#Variables.inc"]
[MeterBackground]
Meter=Image
SolidColor=1E3A69FF
W=410
H=35
[MeterWriteKeyValue]
Meter=String
X=5
Y=5
FontSize=15
FontColor=255,255,255,255
AntiAlias=1
Text=Press to write the key to #*@*#Variables.inc ...
LeftMouseUpAction=[!CommandMeasure "MeasureInput" "ExecuteBatch 1"]
P.S. Using !Refresh and @Including the Variables.inc file in your skin doesn't change things. Of course, in the About/Skins the variable will be the actual path, as #@# is resolved and all that.