Added a new UniqueRandom option. If set to 1, any Calc measure using the random constant and UpdateRandom will not repeat until all values between and including LowBound and HighBound have been used. Note that any dynamic change to LowBound or HighBound will reset the tracking of values.
Sample skin to demonstrate:
This is really nice when used with something like that sample skin to show random images from a folder without repeating them, but would not be appropriate when used in a skin that for instance rolled dice, where you want the "true" random function that statistically will repeat and should...
It is currently October 13th, 2024, 8:39 am
New UniqueRandom option
-
- Developer
- Posts: 22851
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
New UniqueRandom option
You do not have the required permissions to view the files attached to this post.
-
- Posts: 117
- Joined: June 20th, 2012, 12:44 am
Re: New UniqueRandom option
Neato! I came up with a novel use for it already: http://rainmeter.net/forum/viewtopic.php?f=27&t=16321
-
- Rainmeter Sage
- Posts: 16651
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: New UniqueRandom option
What is the minimum revision version (r?) to use this feature?
-
- Developer
- Posts: 22851
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: New UniqueRandom option
The most recent beta from http://rainmeter.net. If you are going to use the beta at all, and not the "release" version, you need to stay current.balala wrote:What is the minimum revision version (r?) to use this feature?
This was added in r2081, but I'm not sure I understand the point of the question.
-
- Rainmeter Sage
- Posts: 16651
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: New UniqueRandom option
Yes, this was my question. Because I'm using r1950, and tried to use the UniqueRandom, but had no succes. After more try, I realised that maybe the used version is to old and I have to update.
Thank you.
Thank you.
-
- Developer
- Posts: 22851
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: New UniqueRandom option
Glad to help. I am just really opposed to anyone using the beta, and staying on one that was created on 09-Jun-2013 until now.balala wrote:Yes, this was my question. Because I'm using r1950, and tried to use the UniqueRandom, but had no succes. After more try, I realised that maybe the used version is to old and I have to update.
Thank you.
-
- Rainmeter Sage
- Posts: 16651
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: New UniqueRandom option
Yes, you're right, I will update now. I don't install every new release.
-
- Posts: 9
- Joined: October 25th, 2013, 5:55 am
Re: New UniqueRandom option
got a question about this. why is it when i load this config do i have to wait whatever SecondsBetween is set to before an image shows?
-
- Developer
- Posts: 22851
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: New UniqueRandom option
You don't. What you do have to wait for when you first load the skin is for FileView to read the entire folder(s) that you are using for your images. It is possible that if there are a huge number of files and / or folders that have to be collected by FileView, there could be a pretty decent delay until it is done and starts displaying images.rupture wrote:got a question about this. why is it when i load this config do i have to wait whatever SecondsBetween is set to before an image shows?
-
- Posts: 9
- Joined: October 25th, 2013, 5:55 am
Re: New UniqueRandom option
actually there's only 5 files in the folder and if i lower the SecondsBetween the images show faster when i load it up.