Random Wallpaper
 ランダム壁紙

＜概要＞
　デスクトップの壁紙を、指定したディレクトリのファイルからランダムに選択して変更します。

＜前提条件・制限＞
　ディレクトリ名にスペースを含めることはできません。

＜インストール＞

    ソースを適当なディレクトリにデータファイルとしてコピーします。ソース中、\os2\bitmapディレクトリを指定している部分のドライブ名を使用する環境のブートドライブに変更してください。
    新規のプログラムオブジェクトを作成し、パスおよびファイル名にコピーしたソースを指定します。パラメータは下記参照。作業ディレクトリは指定不要です。セッションタブでOS/2ウィンドウを選択し、始動時最小化と終了時にクローズをチェックします。
    プログラムオブジェクトのシャドウを始動ディレクトリに作成します。 

＜パラメータ＞
　スペースで区切り、プログラムオブジェクトのプロパティで指定します。後ろのパラメータを記述する場合、それより前のパラメータは省略できません。つまり、３番目のパラメータを記述する場合、１番目、２番目のパラメータも記述する必要があります。TRACEコマンド用のパラメータも指定できます。

    ディレクトリ指定。必ず最後に"\"を付けてください。デフォルト＝OS/2のビットマップディレクトリ
    壁紙にしたいファイルの拡張子。Warp4では、JPGやGIFも壁紙に指定できます。デフォルト＝"BMP"
    壁紙のタイプ。"N"＝通常、"T"＝タイル。デフォルト＝"N" 

例：f:\os2\bitmap\ bmp T
　　c:\windows\

＜実行＞
　OS/2を起動時に眺めていてください（笑）。一瞬前の壁紙が表示され、次にランダムに選択された壁紙が表示されます。壁紙が変更されるのは起動時１回きりです。


ENGLISH TRANSLATION BY GOOGLE:
----------------------------------

Random Wallpaper

<Overview>
　The desktop wallpaper is randomly selected from files in the specified directory and changed.

<Prerequisites and Restrictions>
　The directory name cannot contain spaces.

<Installation>

    Copy the source to a suitable directory as a data file. Change the drive name in the part that specifies the \os2\bitmap directory in the source to the boot drive of the environment that uses it.
    Create a new program object and specify the copied source for the path and filename. See below for parameters. It is not necessary to specify the working directory. Select the OS/2 window in the Sessions tab and check Minimize on startup and Close on exit.
    Create a shadow of the program object in the startup directory.

<Parameter>
　Delimited by a space and specified in the properties of the program object. When describing the parameters after it, the parameters before it cannot be omitted. In other words, if you write the 3rd parameter, you must also write the 1st and 2nd parameters. You can also specify parameters for the TRACE command.

    Specify directory. Be sure to add "\" at the end. Default = OS/2 bitmap directory
    The extension of the file you want to use as wallpaper. In Warp4, JPG and GIF can also be specified as wallpaper. Default = "BMP"
    Wallpaper type. "N" = normal, "T" = tile. Default = "N"

Example: f:\os2\bitmap\bmpT
　　c:\windows\

<Execute>
Please look at OS/2 when it starts up (laughs). The previous wallpaper is displayed for a moment, then a randomly selected wallpaper is displayed. The wallpaper is changed only once at startup.


LINK:
https://web.archive.org/web/20041115003217/http://www2u.biglobe.ne.jp/~gwm01021/rexx1-1.htm