Anyway, my issue...
I wanted to put the contents sections of my skins into the @include file, but I need to set the text colour and remove a meter style depending which skin is loaded.
Basically, all the skins are identical with a content list on left. Click an item to show it's content on the right.
The left Contents should be highlighted depending which is loaded.
This is what I want to put into the @include file:
Code: Select all
========================================
; Contents
========================================
[Apps]
Meter=String
MeterStyle=sAllText | sContents | sHighlight
X=20
Y=35
[Devices]
Meter=String
MeterStyle=sAllText | sContents | sHighlight
[Display]
Meter=String
MeterStyle=sAllText | sContents | sHighlight
[Edit]
Meter=String
MeterStyle=sAllText | sContents | sHighlight
[Internet]
Meter=String
MeterStyle=sAllText | sContents | sHighlight
[Location]
Meter=String
MeterStyle=sAllText | sContents | sHighlight
[Media]
Meter=String
MeterStyle=sAllText | sContents | sHighlight
[Navigation]
Meter=String
MeterStyle=sAllText | sContents | sHighlight
[Office]
Meter=String
MeterStyle=sAllText | sContents | sHighlight
[People]
Meter=String
MeterStyle=sAllText | sContents | sHighlight
[Power]
Meter=String
MeterStyle=sAllText | sContents | sHighlight
[Status]
Meter=String
MeterStyle=sAllText | sContents | sHighlight
[Template]
Meter=String
MeterStyle=sAllText | sContents
FontColor=#Color4#
Also, you can see that this last entry has MeterStyle=sAllText | sContents but again, this needs to be set to this per skin file and the full MeterStyle=sAllText | sContents | sHighlight in the @include file.
I tried this, but I don't think you can use Variables in the Rainmeter section?
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
MouseActionCursor=0
@include=#@#Meters.inc
OnRefreshAction=[!SetOption #Title# Color #Color4#][!SetOption #Title# MeterStyle "sAllText | sContents"]