home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / wpsorexx.zip / wpPaleteBitmaps.CMD < prev    next >
OS/2 REXX Batch file  |  2002-07-10  |  3KB  |  72 lines

  1. /******************************************************************************
  2.  * Modulname:      Make Editor Objects.
  3.  * Modultyp:       Rexx Batch.
  4.  * Beschreibung:   Create Editor Objekts for Different File Types.
  5.  * Author:         Martin Krischik
  6.  ******************************************************************************
  7.  * This program is free software; you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License as published by
  9.  * the Free Software Foundation; either version 2 of the License, or
  10.  * (at your option) any later version.
  11.  *
  12.  * This program is distributed in the hope that it will be useful,
  13.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.  * GNU General Public License for more details.
  16.  *
  17.  * You should have received a copy of the GNU General Public License
  18.  * along with this program; if not, write to the Free Software
  19.  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  20.  ******************************************************************************
  21.  *
  22.  * RCS Daten:
  23.  *
  24.  *     $RCSfile: Editors.CMD,v $
  25.  *     $Source: P:\\Set\\Archive\\Tools\\Editors.CMD,v $
  26.  *
  27.  *     $Author:   Martin_Krischik  $
  28.  *     $Locker:  $
  29.  *
  30.  *     $Revision:   1.0  $
  31.  *     $Date:   24 Aug 1997 13:34:32  $
  32.  *     $State: Exp $
  33.  *     $Name: Current $
  34.  *
  35.  *  $Id: Editors.CMD,v 1.7 1996/09/09 10:05:57 Martin_Krischik Exp $
  36.  *  $Header:   G:/Archive/ORexx/WorkPlace/wpPaleteBitmaps.CMD,v   1.0   24 Aug 1997 13:34:32   Martin_Krischik  $
  37.  *
  38.  *  $Log:   G:/Archive/ORexx/WorkPlace/wpPaleteBitmaps.CMD,v  $
  39.  *
  40.  *     Rev 1.0   24 Aug 1997 13:34:32   Martin_Krischik
  41.  *  Workplace Shell support.
  42.  *
  43.  *****************************************************************************/
  44.  
  45. wpPalete:
  46.     TRACE ON
  47.  
  48.     wp = .MyWorkPlace~NEW;
  49.  
  50.     wp~SetPMDefaultColors = 1;
  51.     wp~SetPMColors        = 1;
  52.     wp~SetUserColors      = "MK";
  53.  
  54.     wp~Colors             = "DesktopBackgroundBitmap;"   ||"D:\DosData\Bitmap\Vorlon~1.BMP,s,1";
  55.     wp~Colors             = "FolderBackgroundBitmap;"    ||"\OS2\Bitmap\Txtr_006.BMP,t,1";
  56.  
  57.     wp~ObjectSetData("<WP_OS2SYS>;"              "BACKGROUND=E:\OS2\BITMAP\SDS00099.BMP,T,,I,255 255 255");
  58.     wp~ObjectSetData("<WP_TEMPS>;"               "BACKGROUND=E:\OS2\BITMAP\PAPER.BMP,T,,I,255 255 253"   );
  59.     wp~ObjectSetData("<WPINET_TEMPLATES>;"       "BACKGROUND=E:\OS2\BITMAP\PAPER.BMP,T,,I,255 255 253"   );
  60.     wp~ObjectSetData("<MMPM2_MMTEMPLATEFOLDER>;" "BACKGROUND=E:\OS2\BITMAP\PAPER.BMP,T,,I,255 255 253"   );
  61.     wp~ObjectSetData("<WP_CONFIG>;"              "BACKGROUND=E:\OS2\BITMAP\SDS00166.BMP,T,,I,255 255 255");
  62.     wp~ObjectSetData("<WP_INSTREMFOLDER>;"       "BACKGROUND=E:\OS2\BITMAP\SDS00072.BMP,T,,I,255 255 255");
  63.     wp~ObjectSetData("<WP_START>;"               "BACKGROUND=E:\OS2\BITMAP\TXTR_003.BMP,T,,I,255 255 255");
  64.     wp~ObjectSetData("<WP_CONNECTIONSFOLDER>;"   "BACKGROUND=E:\OS2\BITMAP\PLASTER.BMP,T,,I,255 255 255");
  65.     wp~ObjectSetData("<WP_PRINTERSFOLDER>;"      "BACKGROUND=E:\OS2\BITMAP\SDS00074.BMP,T,,I,255 255 255");
  66. EXIT
  67.  
  68. ::REQUIRES "WorkPlace";
  69.  
  70. ::CLASS "MyWorkPlace" SUBCLASS WorkPlace
  71.  
  72.