Short: Change your WB background pic on the fly Author: Daniel Westerberg Uploader: Daniel Westerberg (daniel onyxsoft se) Type: util/cli Version: 1.1 Architecture: m68k-amigaos This is a small CLI-tool that you can use to change your WB-background picture on-the-fly. It is a CLI-tool beause Workbench already has a program with a GUI to change the WBPattern. Because it is CLI you can put in it (popup-)menues if you use ToolsDaemon and/or MagicMenu or DirOpus so that you can easily change you background in WB with a simple RMB-mouse-click, just like on other platforms! It takes as an argument a filename for each of WB-background, windows and screen. There are also arguments for restoring a previously "used" background. News & History ~~~~~~~~~~~~~~ * NEW * Added a PATH option to make it possible to save in an alternative place if ENV/ENVARC is not desired. Useful for theme scripts for example. v1.0 (030620) ~~~~ * First release. Usage: ~~~~~~ The arguments: WB=WORKBENCH - A picture file to load as WB background. WIN=WINDOWS - A picture file to load as WB window background. SCR=SCREEN - A picture file to load as WB screen background. SAVE/S Use this to make the change permanent, i.e. save to ENVARC:. Normally NewWBPattern only "uses" the new WBPattern-settings by saving only to ENV: which will be forgotten when you reboot. DEFAULT/S Use this to read current prefs from ENVARC: instead of ENV:. Normally NewWBPattern reads the settings from ENV: to be able to use the latest change but you can use this switch to load from ENVARC: instead which will restore all background except those you type on the same command line ofcourse. PATH An alternative file path to save the new wbpattern prefs. This could be useful if it is not desired to activate the new prefs immediately but instead store it somewhere else. Example of temporarely set new backgrounds for the WB desktop and for the WB windows: > NewWBPattern WB="Paint:pictures/wbback1.jpg" WIN="Paint:pictures/windowback.jpg" Example of temporarely set a new WB background and at the same time restore the window background we just changed: > NewWBPattern WB="Paint:pictures/wbback2.jpg" DEFAULT Example of saving the current background set without changing any more backgrounds: > NewWBPattern SAVE Bugs: ~~~~~ I have tested this program on an A1200 with OS3.9 BB2 and CGFX 4. Please report to me if you encounter any problems! Also tested on OS4 and it seems to work fine. -- Other programs by Deniil 715! can be found on OnyxSoft homepage at: http://www.onyxsoft.nu/ Feel free to mail me if you found bugs or have suggestions!