AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/NewWBPattern.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
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
Date:2010-10-15
Download:util/cli/NewWBPattern.lha - View contents
Readme:util/cli/NewWBPattern.readme
Downloads:920

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!


Contents of util/cli/NewWBPattern.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1870    3944  47.4% -lh5- d15e Sep 28 18:37 NewWBPattern
[generic]                 1299    2668  48.7% -lh5- 3049 Sep 28 22:07 NewWBPattern.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    3169    6612  47.9%            Oct 14 21:05
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>