Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Video Palette Information

Keywords:   Video Palette Information

Question:

Is it possible to write a script to tell you what the current color palette info is? I need to check the number of colors a system has set within Control Panel-Display-Settings. I'm about find this out by changing the setting and running a sysdiff but I thought that there should be a winbatch command that brings me that info OR if one of you already knows what registry key I have to query.

Answer:

a=WinMetrics(-1)
Message("Colors",a)

Article ID:   W15301