Short:        Generate random numbers for scripts
Author:       T.Heinrich@t-online.de (Thomas Heinrich)
Uploader:     T Heinrich t-online de (Thomas Heinrich)
Type:         util/cli
Version:      1.1
Replaces:     Randomizer#?
Requires:     OS2.04+, MC68000+
Architecture: m68k-amigaos

While I am browsing through the web, I am collecting looots of
photos of phantastic women. So I really could not decide which
one to use as the workbench backdrop. Using WBPattern to create
multiple preferences files was easy, but how get them changed
after every reboot ?

So I renamed all the prefs as Backdrop.xx, where xx is a number
from 0 to 197 ;^). But how do I generate a random number in a shell ?
Finally I quickly wrote a program, which used the system seconds,
and masked out the lower few bits, being able to use first 16 then
32 backdrops.

I was not to satified with that, as it only produced fixed steps
to use as numbers (16, 32 the next would have been 64). I spent
half an afternoon, then, to produce this program here: Randomizer !

What it does:
-------------
It also reads the seconds from the timer of your Amiga and then
produces a CONFIGURABLE number of random numbers. For script
convenience, it stores the number in a local shell variable named
"RANDOM". So you can access it e.g. by typing

WBPattern Backdrop.$RANDOM USE

This loads a random backdrop picture, given you prepared the prefs
in the first place.

What YOU should do:
-------------------
READ THE DOCS BEFORE USING THE PROGRAM !

To be honest, there are no docs... Search for the file "ReadMeFirst"
in this distribution, to figure out how to make Randomizer work.

One more, at last: It is FREEWARE ! And it comes with the main part
of the C source !!!

Have fun,
    Thomas "Hoin" Heinrich.