Jump to content

ConsoleWrite Color


Recommended Posts

  • 7 months later...

Thanks ,

Yes it's for SciTE stdout , I had tried the above code and it seem only the BLUE is working

ConsoleWrite('> = Blue' & @LF)

Try these

ConsoleWrite("> " & @ScriptLineNumber & " makes color BLUE" & @CRLF)
ConsoleWrite("! " & @ScriptLineNumber & " makes color RED" & @CRLF)
ConsoleWrite("- " & @ScriptLineNumber & " makes color ORANGE" & @CRLF)
ConsoleWrite("+ " & @ScriptLineNumber & " makes color GREEN" & @CRLF)

Now I'm wondering if there is a way to color single text (like groups or single words) inside console text ...

Edited by guwguw
Link to comment
Share on other sites

  • Developers

Now I'm wondering if there is a way to color single text (like groups or single words) inside console text ...

When you mean inside of SciTE's Outputpane then the answer is: No

You are depending on what the lexer in SciTE for the outputpane supports, which is really made to lex the output of compiler programs and automatically does some coloring for warnings and errors.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...