  
 | 
  
  85025 packages online
 | 
 
 
 | 
  | 
 
 | 
util/dopus/RandomPattern.lha | 
 | 
 
| 
  No screenshot available
 | 
  |  
Insert this (shell-only) command into your startup-sequence
and enjoy the random backdrop-picture :-)
It selects a random file from a given directory and simply
copies it to the given destination-file (your backdrop-pic).
In fact, you can use this command for the original Workbench
as well (if you do not prefer DirOpus).
Usage:
RandomPattern {source-dir} {target-file}
source-dir:  A directory where you have stored all possible
             pictures, e.g. "iff:backdrops/"
target-file: THE file you have selected in DirOpus (or WBpattern)
             as your backdrop picture, e.g. "Dopus5:backdrop.pic"
My startup-sequence contains this line:
random.exe iff:backgrounds/ dopus5:g_background.jpg
(well, in real it is in the user-startup, you can place it in your
startup-sequence OR the user-startup)
The programm was written with BlitzBasic in a couple of minutes...
Please write any bugs (are there any in this really SHORT program?)
or suggestions to me.
Have Fun!
 |  
  Contents of util/dopus/RandomPattern.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic]                 8704   14628  59.5% -lh5- 8563 Feb  7  1999 RandomPattern
[generic]                  612    1173  52.2% -lh5- 0e7b Feb  7  1999 RandomPattern.readme
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         2 files    9316   15801  59.0%            Feb  6  1999
  |   
 |  
  | 
  | 
| Page generated in 0.03 seconds | 
Aminet © 1992-2024 Urban 
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |