Sign in to follow this  
Followers 0
tresa

How can I write to console in color

5 posts in this topic

I remember I saw a gafrost sample which did that

But I do'nt know how to retrieve it

thx in adv

Share this post


Link to post
Share on other sites



if your refering to the command console you can type color /? for info

Share this post


Link to post
Share on other sites

if your refering to the command console you can type color /? for info

I'm talking about the bottom window of autoit where you can write with consolewrite.

It's usually in black but I want to have some text in color

Is it possible?

Share this post


Link to post
Share on other sites

;~colours in console window

ConsoleWrite(" Black" & @LF)

ConsoleWrite("! Light green" & @LF)

ConsoleWrite("+ Dark blue" & @LF)

ConsoleWrite("> Blue" & @LF)

ConsoleWrite("- green/blue" & @LF)

Share this post


Link to post
Share on other sites

;~colours in console window

ConsoleWrite(" Black" & @LF)

ConsoleWrite("! Light green" & @LF)

ConsoleWrite("+ Dark blue" & @LF)

ConsoleWrite("> Blue" & @LF)

ConsoleWrite("- green/blue" & @LF)

Bravo ! it works !

Where did you get this info ?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0