It is currently April 19th, 2024, 1:42 am
Including Meters
-
- Posts: 4
- Joined: February 1st, 2019, 6:05 pm
Including Meters
Whenever I try including meters, it doesn't seem to include it? I've put the meters in the parent and it works. But then when I take it out, it doesn't. In the parent skin there is already a dummy skin. Thank you.
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Including Meters
Not sure I understand you. What the parent skin is? And how did you include those meters into your skin?
An example would be much useful.
-
- Posts: 4
- Joined: February 1st, 2019, 6:05 pm
Re: Including Meters
Sorry I realized I wasn't clear
This is the parent skin
Then the include file
This is the parent skin
Code: Select all
[Rainmeter]
Update=500
[DummyMeter]
Meter=String
[DummyMeasure]
Measure=Calc
[Variables]
@Include=#@#Include\music.inc
[SpotifyTitle]
Measure=Plugin
Plugin=WebNowPlaying.dll
PlayerName=WebNowPlaying
PlayerType=Title
Substitute="":"N/A"
[SpotifyArtist]
Measure=Plugin
Plugin=WebNowPlaying.dll
PlayerName=WebNowPlaying
PlayerType=Artist
Substitute="":"N/A"
Code: Select all
[MusicTrackTitle]
Meter=String
MeasureName=WNPArtist
MeasureName2=WNPTitle
Text=%1 - %2
StringAlign=LeftCenter
FontColor=FFFFFF
FontFace=Futura Bk BT
FontSize=20
x=24
y=32
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Including Meters
What the "doesn't seem to include it" means? How do you know it isn't included? Because there is a question and a mistake in the posted pieces of code.
- The question: is the file containing the [MusicTrackTitle] meter the @Resources\Include\music.inc file? Make sure it is.
- The mistake: the two NowPlaying measures, contained in the parent skin, are named [SpotifyTitle] and [SpotifyArtist] respectively. But in the [MusicTrackTitle] meter you're refering to the [WNPArtist] and [WNPTitle] measures, which are not posted at all. Shouldn't those options be related to [SpotifyTitle] and [SpotifyArtist] (MeasureName=SpotifyTitle and MeasureName2=SpotifyArtist)?
-
- Posts: 1
- Joined: February 1st, 2019, 6:34 pm
Re: Including Meters
Ok I've changed it and nothing appears
Code: Select all
[Rainmeter]
Update=500
[DummyMeter]
Meter=String
[DummyMeasure]
Measure=Calc
[Variables]
@Include=#@#Include\music.inc
[WNPTitle]
Measure=Plugin
Plugin=WebNowPlaying.dll
PlayerName=WebNowPlaying
PlayerType=Title
Substitute="":"N/A"
[WNPArtist]
Measure=Plugin
Plugin=WebNowPlaying.dll
PlayerName=WebNowPlaying
PlayerType=Artist
Substitute="":"N/A"
Code: Select all
[MusicTrackTitle]
Meter=String
MeasureName=WNPArtist
MeasureName2=WNPTitle
Text=%1 - %2
StringAlign=Left
FontColor=FFFFFF
FontFace=Futura Bk BT
FontSize=100
x=0
y=0
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Including Meters
Ok, please pack the whole config you have the skin within and upload it here, to can check.
-
- Posts: 4
- Joined: February 1st, 2019, 6:05 pm
-
- Posts: 4
- Joined: February 1st, 2019, 6:05 pm
Re: Including Meters
Never mind I restarted my computer and it works for some reason, thanks for your help
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Including Meters
I'm glad in this case.