Title: | POLYCENTER Console Manager |
Notice: | Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS: |
Moderator: | CSC32::BUTTERWORTH |
Created: | Thu Aug 06 1992 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 1541 |
Total number of notes: | 6564 |
I use the action console$eventlist.exe to send events to a lot of windows. My problem is to change the color of the events. I looked to the file in console$app_defaults and it seemed to be not possible. I tried to use the option Event Characteristics in the "console C3" and it doesn't works. I looked to the file console$eventlist.exe and the color of the events seemed to be hard-coded : LightBlue,Green,Yellow,Orange,Magenta,Red. I patched the file console$eventlist.exe with other color and it works but this method requires to use name of color with length less or equal than the length of the name of the actual colors. ( and this method is not really usefull ) Is there another method to do it ? - in the file in console$app_defaults - in a file in sys$login:console....dat Thanks.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
569.1 | OPG::SIMON | Fri Jan 20 1995 10:01 | 30 | ||
Hi, the default values are hardcoded in the image, but the resourses can be changed (I hassled Phil until he told me how). Basically it is a matter of storing extra values in the Evenlist resourse files, which are stored in console$app_defaults (on OpenVMS) or in the app-defaults directory in the /var/opt/console (OSF) /var/kits/console(ULTRIX) trees. The files used are different depending on how the eventlist is started i.e. whether it is a C3 eventlist or an action routine. e.g. CONSOLE$EVENTLIST.DAT_PHILIP_C3;2 C3 Eventlist for user PHILIP CONSOLE$EVENTLIST.DAT_YOSSAM_0_0;2 Action Routine displaying to YOSSAM 0 0 These files are generated as the result of an Options Save. All you need to do is insert the Correct Resource names into these files. The resources are: Console Event List.Indeterminate: Console Event List.Clear: Console Event List.Minor: Console Event List.Warning: Console Event List.Major: Console Event List.Critical: Cheers Simon.... |