
|
84782 packages online
|
|
 |
|
|
|
No screenshot available
|
|
PURPOSE
RandomBG is a very simple program to randomly select a file from a given
directory and set it as either workbench, window or screen background
picture. RandomBG doesn't make any changes on your harddisk, it just updates
the file "ENV:sys/WBPattern.prefs" in RAM and makes the IPrefs process load
the new selected pictures.
RandomBG will scan these directories, randomly select one file from each
directory and then set the new backgrounds.
SYNOPSIS
WBDIR,WINDIR,SCRDIR,VERBOSE/S
INPUTS
WBDIR, WINDIR and SCRDIR are the directories where you keep your background
pictures. RandomBG is able to select a picture for each background type from
a different directory.
If you for example just give the directory WINDIR, then RandomBG will just
update the background picture for windows and leave the background for
workbench and screen as it is.
Enabling the VERBOSE option will make RandomBG output a few things it is
currently doing.
RESULTS
The workbench, window and screen background picture will be automatically
updated by the IPrefs process.
EXAMPLE
RandomBG wbdir=work:patterns/workbench scrdir=data:graphic/screens
This will select one picture for the Workbench from "work:patterns/workbench"
and one from "data:graphic/screens" for the screen and will leave the window
pattern untouched.
RandomBG windir=Work:Patterns/Window verbose
This will just select a new window background from the files in
"work:patterns/window" and additionally output something like this:
choosing workbench background
choosing window background
old file: Work:Patterns/Window/bd3.png
new file: Work:Patterns/Window/Sand.png
choosing screen background
Workbench and screen background are left untouched.
BUGS
Hopefully none.
HISTORY
V1.2: - fixed endless loop when there was only one or no picture in one of
the directories
|
Contents of util/boot/RandomBG.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[unknown] 6209 11048 56.2% -lh5- 32f6 Aug 21 1998 RandomBG
[unknown] 936 2198 42.6% -lh5- acad Aug 21 1998 RandomBG.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 2 files 7145 13246 53.9% Aug 23 1998
|
|
|
 |
Page generated in 0.01 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |