EasyJob
EasyJob copied to clipboard
Color tags
Great tool. I've already found a use for it within our small team to organize our scripts The support of color output however i feel could be better implemented.
I don't really want to have to re-write all my scripts to add in your color 'tags', especially if the same scripts might be ran outside of your tool in regular PS consoles which would break the color output of a normal write-host.
From a quick look through your source code it seems like you're parsing the scripts looking for your new tags and converting it to html spans.
Would it not be easier to parse any write-host commands in the scripts for the -foregroundcolor or -backgroundcolor parameters and if they're found your code can convert the colors into your html span tags for the output?
Dear ITMonkey78,
Thanks for the suggestion. I actually thought about that, but don`t know how to do that. I would be thankful if you provide me methods\ways\code\or whatever solution of how I can achieve that.