REXX Tips & Tricks:Change the WPS with REXX
This section contains hints for using REXX to change the WPS.
WPS class hierarchy
This section contains the class tree for WARP 3 and WARP 4.
To get a list of all registered classes on your system use the function SysQueryClassList().
To get a hierarchical list of the WPS classes registered on your system you can use the Search-Button of the LaunchPad (or the entry Find ... in the WPS context menu) as follows:
- Open the Find dialog
- Push the More ... button in the Find dialog to open the Find Criteria dialog
- Push the Add button in the Find Criteria dialog to open the Add Criteria dialog
- Select Object Class for the field Attribute in the Add Criteria dialog
- Now you can scroll the hierarchical list of the registered classes in the list box Comparison value.
In der deutschen Version von WARP oeffnet mensch hierfuer den Suchen Dialog (ueber den Suchen Button der Klickstartleiste oder ueber den Eintrag Suchen im Kontextmenue der WPS. Dort klickt mensch den Button Weitere und in den daraufhin erscheinenden Dialog den Button Hinzufuegen In diesen Dialog nun setzt mensch das Feld Merkmal auf ObjektKlasse. Nun kann in der Listbox Vergleichswert die hierarchische Liste der registrierten WPS Klassen durch gescrollt werden.
WARP Version 3 Class hierarchy
WPS Class hierarchy for WARP Version 3 (see also the WPS Class hierarchy for WARP 4).
CLASS NAME CLASS DEFINITION FILE
SOMObject somobj.idl ÃÄÄ SOMClass somcls.idl ÃÄÄ SOMClassMgr somcm.idl ÀÄÄ WPObject wpobject.idl ÃÄÄ WPAbstract wpabs.idl ³ ÃÄÄ WPClock wpclock.idl ³ ÃÄÄ WPCountry wpctry.idl ³ ÃÄÄ WPDisk wpdisk.idl ³ ÃÄÄ WPKeyboard wpkeybd.idl ³ ÃÄÄ WPLaunchPad wplnchpd.idl ³ ÃÄÄ WPMouse wpmouse.idl ³ ÃÄÄ WPPalette wppalet.idl ³ ³ ÃÄÄ WPColorPalette wpclrpal.idl ³ ³ ÃÄÄ WPFontPalette wpfntpal.idl ³ ³ ÀÄÄ WPSchemePalette wpscheme.idl ³ ÃÄÄ WPPower wppower.idl ³ ÃÄÄ WPPrinter wpprint.idl ³ ³ ÀÄÄ WPRPrinter wprprint.idl ³ ÃÄÄ WPProgram wppgm.idl ³ ÃÄÄ WPShadow wpshadow.idl ³ ³ ÀÄÄ WPNetLink wpnetlnk.idl ³ ÃÄÄ WPShredder wpshred.idl ³ ÃÄÄ WPSound wpsound.idl ³ ÃÄÄ WPSpecialNeeds wpspneed.idl ³ ÃÄÄ WPSpool wpspool.idl ³ ÃÄÄ WPSystem wpsystem.idl ³ ÀÄÄ WPWinConfig wincfg.idl ÃÄÄ WPFileSystem wpfsys.idl ³ ÃÄÄ WPDataFile wpdataf.idl ³ ³ ÃÄÄ WPBitmap wpbitmap.idl ³ ³ Ã*Ä WebExplorer_Url ³ ³ ÃÄÄ WPIcon wpicon.idl ³ ³ ÃÄÄ WPMet wpmet.idl ³ ³ ÃÄÄ WPPif wppif.idl ³ ³ ÃÄÄ WPPointer wpptr.idl ³ ³ ÀÄÄ WPProgramFile wppgmf.idl ³ ³ ÀÄÄ WPCommandFile wpcmdf.idl ³ ÀÄÄ WPFolder wpfolder.idl ³ ÃÄÄ WPDesktop wpdesk.idl ³ ÃÄÄ WPDrives wpdrives.idl ³ ÃÄÄ WPMinWinViewer wpmwv.idl ³ ÃÄÄ WPNetgrp wpnetgrp.idl ³ ÃÄÄ WPNetwork wpnetwrk.idl ³ ÃÄÄ WPRootFolder wprootf.idl ³ ÃÄÄ WPServer wpserver.idl ³ ÃÄÄ WPSharedDir wpshdir.idl ³ ÃÄÄ WPStartup wpstart.idl ³ ÀÄÄ WPTemplates wptemps.idl ÀÄÄ WPTransient wptrans.idl ÃÄÄ WPJob wpjob.idl ÃÄÄ WPPdr wppdr.idl ÃÄÄ WPPort wpport.idl ÀÄÄ WPQdr wpqdr.idl
Source: Workplace Shell Programming Guide (OS/2 WARP Toolkit) (except for the classes marked with *. These are no standard WPS classes.)
WARP Version 4 Class hierarchy
WPS Class hierarchy for WARP Version 4 (see also the WPS Class hierarchy for WARP 3).
CLASS NAME CLASS DEFINITION FILE SOMObject somobj.idl ÃÄÄÄSOMClass somcls.idl ÃÄÄÄSOMClassMgr somcm.idl ³ ÀÄWPClassManager wpclsmgr.idl ÀÄÄÄWPObject wpobject.idl ÚÄÄÄÄÄWPAbstract wpabs.idl ³ ÃÄÄ WPClock wpclkm.idl ³ ÃÄÄ WPCountry wpctry.idl ³ ÃÄÄ WPDisk wpdisk.idl ³ ÃÄÄ WPLaunchPad wplnchpd.idl ³ ³ ÀÄÄSmartCenter ³ ÃÄÄ WPKeyboard wpkeybd.idl ³ ÃÄÄ WPMouse wpmouse.idl ³ ÃÄÄ WPPalette wppalet.idl ³ ³ ÃÄÄ WPColorPalette wpclrpal.idl ³ ³ ÃÄÄ WPFontPalette wpfntpal.idl ³ ³ ÀÄÄ WPSchemePalette wpscheme.idl ³ ÃÄÄ WPPower wppower.idl ³ ÃÄÄ WPPrinter wpprint.idl ³ ³ ÀÄÄ WPRPrinter wprprint.idl ³ ÃÄÄ WPProgram wppgm.idl ³ ÃÄÄ WPShadow wpshadow.idl ³ ³ ÀÄÄ WPNetLink wpnetlnk.idl ³ ÃÄÄ WPShredder wpshred.idl ³ ÃÄÄ WPSound wpsound.idl ³ ÃÄÄ WPSpecialNeeds wpspneed.idl ³ ÃÄÄ WPSpool wpspool.idl ³ ÃÄÄ WPSystem wpsystem.idl ³ ÀÄÄ WPWinConfig wincfg.idl ÃÄÄ WPFileSystem wpfsys.idl ³ ÃÄÄ WPDataFile wpdataf.idl ³ ³ ÃÄÄ WPHtml wphtml.idl ³ ³ ÃÄÄ WPIcon wpicon.idl ³ ³ ÃÄÄ WPImageFile wpimage.idl ³ ³ ³ ÀÄÄ WPBitmap wpbitmap.idl ³ ³ ÃÄÄ WPMet wpmet.idl ³ ³ ÃÄÄ WPPif wppif.idl ³ ³ ÃÄÄ WPPointer wpptr.idl ³ ³ ÃÄÄ WPProgramFile wppgmf.idl ³ ³ ³ ÀÄÄ WPCommandFile wpcmdf.idl ³ ³ ÃÄÄ WPUrl wpurl.idl ³ ÃÄÄ WPFolder wpfolder.idl ³ ³ ÃÄÄ WPDesktop wpdesk.idl ³ ³ ÃÄÄ WPDrives wpdrives.idl ³ ³ ÃÄÄ WPHost wphost.idl ³ ³ ÃÄÄ WPHwManager wphwmgr.idl ³ ³ ÃÄÄ WPMinWinViewer wpmwv.idl ³ ³ ÃÄÄ WPNetgrp wpnetgrp.idl ³ ³ ÃÄÄ WPNetwork wpnetwrk.idl ³ ³ ÃÄÄ WPRootFolder wprootf.idl ³ ³ ÃÄÄ WPServer wpserver.idl ³ ³ ÃÄÄ WPSharedDir wpshdir.idl ³ ³ ÃÄÄ WPStartup wpstart.idl ³ ³ ÃÄÄ WPTemplates wptemps.idl ³ ³ ÀÄÄ WPUrlFolder wpurlfdr.idl ÀÄÄ WPTransient wptrans.idl ÚÄÄ WPJob wpjob.idl ÃÄÄ WPDevice wpdevice.idl ³ ÃÄÄ WPDevAudio wpaudio.idl ³ ÃÄÄ WPDevBus wpbus.idl ³ ÃÄÄ WPDevCDRom wpcdrom.idl ³ ÃÄÄ WPDevCPU wpcpu.idl ³ ÃÄÄ WPDevDiskette wpdskett.idl ³ ÃÄÄ WPDevDisplay wpdisply.idl ³ ÃÄÄ WPDevHarddrive wphrddrv.idl ³ ÃÄÄ WPDevKeyboard wpkeybdd.idl ³ ÃÄÄ WPDevMemory wpmem.idl ³ ÃÄÄ WPDevMouse wpmoused.idl ³ ÃÄÄ WPDevParallel wpparal.idl ³ ÃÄÄ WPDevPeriph wpperiph.idl ³ ÃÄÄ WPDevSerial wpserial.idl ³ ÃÄÄ WPDevTape wptape.idl ³ ÀÄÄ WPDevTimer wptimer.idl ÃÄÄ WPPort wpport.idl ÃÄÄ WPPdr wppdr.idl ÀÄÄ WPQdr wpqdr.idl
Note: According to the REXX Reference Summary Handbook the class SmartCenter is a sub class of WPAbstract. I have not been able to verify this.