Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1754

Help: Rainmeter Skins • Re: Help with leading zeroes and counting files in a folder

$
0
0
Yes, both yours and jsmorley's were functionally identical, but the solution without regex is a bit more foolproof as it doesn't rely on the 00x.png naming structure, so I'll go with that.

Now I just need to try and implement it into the lua code no-repeats variation.

One more question: I'm sure there's a simple answer, but I'm failing to find it... what's the best way to randomise the first image that appears when Rainmeter or the skin is loaded? So that it doesn't always begin with 001.png, but still cycles sequentially.
That question is at odds with the idea of the Lua random no-repeat concept. It has to be one or the other. "Random", or "Sequential"?

Statistics: Posted by jsmorley — Yesterday, 4:10 pm



Viewing all articles
Browse latest Browse all 1754

Trending Articles