New UniqueRandom option

Changes made during the Rainmeter 3.0 beta cycle.
User avatar

New UniqueRandom option

August 18th, 2013, 3:13 pm
jsmorley
Developer   [15494 posts]

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:

RandomFileImage_1.1.rmskin
(1.16 KiB) Downloaded 236 times


8-18-2013 10-57-43 AM.jpg


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...
User avatar

Re: New UniqueRandom option

August 19th, 2013, 11:05 am
iNjUST
   [118 posts]

Neato! I came up with a novel use for it already: viewtopic.php?f=27&t=16321
User avatar

Re: New UniqueRandom option

August 19th, 2013, 8:44 pm
balala
Rainmeter Sage   [4051 posts]

What is the minimum revision version (r?) to use this feature?
User avatar

Re: New UniqueRandom option

August 19th, 2013, 9:01 pm
jsmorley
Developer   [15494 posts]

balala wrote:What is the minimum revision version (r?) to use this feature?


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.

This was added in r2081, but I'm not sure I understand the point of the question.
User avatar

Re: New UniqueRandom option

August 20th, 2013, 4:59 pm
balala
Rainmeter Sage   [4051 posts]

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.
User avatar

Re: New UniqueRandom option

August 20th, 2013, 5:14 pm
jsmorley
Developer   [15494 posts]

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.


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.
User avatar

Re: New UniqueRandom option

August 20th, 2013, 5:28 pm
balala
Rainmeter Sage   [4051 posts]

Yes, you're right, I will update now. I don't install every new release.

Re: New UniqueRandom option

October 25th, 2013, 6:00 am
rupture
   [9 posts]

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?
User avatar

Re: New UniqueRandom option

October 25th, 2013, 12:02 pm
jsmorley
Developer   [15494 posts]

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?


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.

Re: New UniqueRandom option

October 25th, 2013, 3:04 pm
rupture
   [9 posts]

actually there's only 5 files in the folder and if i lower the SecondsBetween the images show faster when i load it up.

Return to “Rainmeter 3.0”



Who is online

Users browsing this forum: No registered users and 0 guests