From: Michal Suchanek Date: 2009-08-06T04:36:41+09:00 Subject: Re: Change console forground to Red or Green 2009/8/5 Laup-Dawg : > Hi All, > > I'm looking for a way to change a Window's console foreground color in > Ruby.  I have a script that outputs passes and fails and I would like > to know how to change the text to green or red specfically. > > I don't even mind hard coding the console color code values (escape > sequences), since those are the only two colors I'm planning on using. > > Any help would be appreciated... > > You might be able to do that with the ruby curses extension but on windows you cannot change the console colors by simply printing some escape sequences. If you do not insist on using console it should be simple to get this functionality in a win32 application, tk, HTML + browser, ... HTH Michal