It is currently April 26th, 2024, 10:56 pm

Rainmeter's limits

General topics related to Rainmeter.
User avatar
24HourPartyPeople
Posts: 13
Joined: June 12th, 2010, 5:38 pm

Rainmeter's limits

Post by 24HourPartyPeople »

I need to know what are Rainmeter's limits. I've read there are a few, not by reliable sources though.

-Maximum number of string indexes in a single skin?
-Maximum number of lines/characters in a single skin?
-Maximum number of characters/expressions per line?
-Maximum amount of data that a single skin can hold (how many characters or something similar)?

Please post any other limits if there are any.

Thanks in advance!
[url]http://fresh-grass.deviantart.com/[/url]
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: Rainmeter's limits

Post by JpsCrazy »

I really don't think there are limits, but the more you have the slower you skin will be. (I believe.)

The best way to find out is test it yourself. ;)
User avatar
24HourPartyPeople
Posts: 13
Joined: June 12th, 2010, 5:38 pm

Re: Rainmeter's limits

Post by 24HourPartyPeople »

I would have thought there are not limits too, but I already hit the ceiling, I think. For example, adding just 4 regexp parts (there were are already 16 exact same parts) to the "RegExp" made the skin work as if there was no RegExp code at all.
I have 100 string indexes, so could be that Rainmeter doesn't except string indexes with 3 digit number.
Last edited by 24HourPartyPeople on June 19th, 2010, 3:37 pm, edited 1 time in total.
[url]http://fresh-grass.deviantart.com/[/url]
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Rainmeter's limits

Post by dragonmage »

I am unaware of any limits on the items you mentioned. The only StringIndex limit I know of is the 99 indexes per measure.
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: Rainmeter's limits

Post by JpsCrazy »

Yeah, same DragonMage.
I thought the 99 one, but I wasn't positive.

You did something wrong then, because I have 40 RegExp parts in one of mine and it works fine...
Or the site isn't letting you get data for awhile. I'm pretty sure they can temporarily ban you.
User avatar
24HourPartyPeople
Posts: 13
Joined: June 12th, 2010, 5:38 pm

Re: Rainmeter's limits

Post by 24HourPartyPeople »

That's it, I have 100 string indexes. So if I add another measure for webparser and make it skip everything to what should be 50th string index before through RegExp, it should work right?
[url]http://fresh-grass.deviantart.com/[/url]
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: Rainmeter's limits

Post by JpsCrazy »

Copy the SAME code from the webparser (Aka don't type in the url as [oldmeasure]) and then start the regular expression where the last one left off, and do the string index as 1.
That's how I think it works.
User avatar
24HourPartyPeople
Posts: 13
Joined: June 12th, 2010, 5:38 pm

Re: Rainmeter's limits

Post by 24HourPartyPeople »

I don't know what you mean, but this works just fine:

Code: Select all

[Variables]
YES=(?(?=.*\[\").*\[\".*\",.*,\"(.*)\",.*,(.*),.*,.*,.*,(.*),(.*),.*,".*",.*,.*,.*,.*,.*,.*,.*(.*),)
NO=(?(?=.*\[\").*\[\".*\",.*,\".*\",.*,.*,.*,.*,.*,.*,.*,.*,".*",.*,.*,.*,.*,.*,.*,.*.*,)

[uTorrent1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=5
Url=http://name:pass@127.0.0.1:8080/gui/?list=1
RegExp="(?siU),"torrents":.*#YES##YES##YES##YES#"

[uTorrent2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=5
Url=http://name:pass@127.0.0.1:8080/gui/?list=1
RegExp="(?siU),"torrents":.*#NO##NO##NO##NO##YES##YES##YES##YES#"
[url]http://fresh-grass.deviantart.com/[/url]