It is currently April 16th, 2024, 11:22 pm

Rainmeter error:rainmeter no such StringStyle: #Style#

Get help with creating, editing & fixing problems with skins
User avatar
hawx
Posts: 5
Joined: July 4th, 2010, 10:44 am

Rainmeter error:rainmeter no such StringStyle: #Style#

Post by hawx »

I downloaded a skin called 'everyday update' from Devian Art.
I try and load the time and it says "no such StringStyle: #Style#"
i click 'Ok' it comes up with "your configuration file doesn't contain any metres! Your skin ini-file might be out of date" it does this with a couple of them
It does not allow me to load the time why does it come up with this and how do i stop it?
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: Rainmeter error:rainmeter no such StringStyle: #Style#

Post by Chewtoy »

Have you restarted rainmeter after installing the skin?
I don't think, therefore I'm not.
User avatar
hawx
Posts: 5
Joined: July 4th, 2010, 10:44 am

Re: Rainmeter error:rainmeter no such StringStyle: #Style#

Post by hawx »

I dont think i did, but i installed it days ago and my computer has been turned on and off many times then.
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: Rainmeter error:rainmeter no such StringStyle: #Style#

Post by Chewtoy »

Then it might be that you installed the skin to a place that it was not designed to be in, so it looks for the styles in a place where they don't exist.
Could you link to the skin so one could take a look at it?
Are you using the latest rainmeter? Just to make sure so you don't sit on a Rainmeter 1.1 and try having a skin for 1.2 load.
I don't think, therefore I'm not.
User avatar
hawx
Posts: 5
Joined: July 4th, 2010, 10:44 am

Re: Rainmeter error:rainmeter no such StringStyle: #Style#

Post by hawx »

http://customize.org/rainmeter/skins/73189
I am using the latest rainmeter (1.2)
BTW it only happens on the time widget.
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: Rainmeter error:rainmeter no such StringStyle: #Style#

Post by Chewtoy »

And I know why. It actually occurs with the Date skin as well.
Both Time and Date (the skins) have this:
[Variables]
@include=#SKINSPATH#\Elementary\Variables.inc

Which tells the skin to look for the variables in Skins\Elementary\Variables.inc
If one does not thave that file (it's not included in the download), they can't get the variables and the skin fails.
You have to edit the skins so that it either draws the variables from within the file, or hardcode them (replace the #FontColor# with say, 255, 255, 255, 150).
Do that and it will work.
I don't think, therefore I'm not.
User avatar
hawx
Posts: 5
Joined: July 4th, 2010, 10:44 am

Re: Rainmeter error:rainmeter no such StringStyle: #Style#

Post by hawx »

I replaced the font color with 255, 255, 255, 150 and it didn't work i tried it on all [sections] and it still didn't work.
User avatar
maminscris
Posts: 509
Joined: April 24th, 2009, 3:17 pm
Location: Bucharest, Romania Lat 44,43° Lon 26,1°

Re: Rainmeter error:rainmeter no such StringStyle: #Style#

Post by maminscris »

StringStyle can be Normal, Bold, italic, BoldItalic

If you remove StringStyle from all your meters rainmeter will use normal as default
Zero at programing, zero at writing codes, so far 2 at making images
But I'm good at copy/paste, and I not always like this
Image
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: Rainmeter error:rainmeter no such StringStyle: #Style#

Post by Chewtoy »

I hope you understand that you have to change every #Variable# that's not defined in the [Variables] section.
I don't think, therefore I'm not.
User avatar
hawx
Posts: 5
Joined: July 4th, 2010, 10:44 am

Re: Rainmeter error:rainmeter no such StringStyle: #Style#

Post by hawx »

Thank you for your help, it worked :D