Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Perl Misc (http://www.velocityreviews.com/forums/f67-perl-misc.html)
-   -   Format With Color Output (http://www.velocityreviews.com/forums/t889994-format-with-color-output.html)

Muller 01-05-2005 03:37 PM

Format With Color Output
 
Hi,
I am using FORMAT Comand to beautify the conlsole output using "write",
and I use Win32::Console to add colors, I want only cirtain Variables
defined in FORMAT to get color effect,
if I change the color value like
$Console->Attr($Color);
write;
then complete FORMAT output is changed,

Tlexnex 01-13-2005 08:35 PM

Re: Format With Color Output
 

Muller wrote:
> Hi,
> I am using FORMAT Comand to beautify the conlsole output using

"write",
> and I use Win32::Console to add colors, I want only cirtain Variables


> defined in FORMAT to get color effect,
> if I change the color value like
> $Console->Attr($Color);
> write;
> then complete FORMAT output is changed,


I'm trying to handle colors within formats as well, did you find a
resolution to this? I want to create a logging standard for my script
processes that resembles the Linux boot process - easy to follow and
read. There does not seem to be a clean way to do this in Perl..
Thanks,

Todd



All times are GMT. The time now is 11:31 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57