Customise output for specific output.

Feb 14, 2013 at 8:55 AM
I use pre and post build scripts in my projects. I want to customise them. Lets say that my I am copying output files to a directory. So in output it is written that "1 file(s) copied." or "0 file(s) copied."

Now what I want is that if there is text "0 file(s) copied." the color of this line should be red (error) so that I came to know that file is not copied.

How I can do that?