Logo by Nickman (anonymous IP: 3.141.42.41,2258) | ||||||||||||||
| ||||||||||||||
Audio (343) Datatype (51) Demo (203) Development (602) Document (24) Driver (97) Emulation (149) Game (1011) Graphics (500) Library (118) Network (234) Office (66) Utility (932) Video (69) Total files: 4399 Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
Support the site
|
STRBackdrop This is a C++ written using some classes I built which wrap the Amiga OS Libraries into an object oriented system. This mostly explains the size of the executable file. Even though the source code is only about 50 lines of code, it uses several classes which interface with the Amiga OS. STRBackdrop takes only one argument which must be present. This is (quoted if necessary) a fully pathed filename of an image that will become the current Workbench backdrop. This only changes the preferences file in ENV: so no permanent changes are made to the preferences file in ENVARC: This program is not a hack (as my previous attempts have been.) It uses the iffparse.library in order to properly parse and save the preferences using the exact same data structures used by WBPattern. Since this program only changes the image filename for the Workbench itself, you must preset an image for the Workbench using WBPattern and set the other quality and centered/tiling options as desired. Thereafter, this program will change the image as desired from the commandline. Used in conjuction with the provided ARexx script RandomBackdrop.rexx, this entire process can be fully automated and not need any further interaction. RandomBackdrop.rexx This ARexx script performs the dirty work of selecting an image filename from a prepared list of images (see the script itself for further information.) Simply add the following to your S:User-Startup script: Run <>NIL: Rx Path:To/RandomBackdrop.rexx 15 Change the 15 to the number of minutes desired between image changes. If left off completely, the script will change the backdrop and exit immediately. Douglas F. McLaughlin http://www.stricq.com/ Verison 1.0.1: o Small fix for the ARexx script. |
Copyright © 2004-2024 by Björn Hagström All Rights Reserved |