Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting


Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 10-03-2016, 06:25 PM
MeeksFamily06 MeeksFamily06 is offline
Registered User
Join Date: Oct 2016
Posts: 3
Grab the color of the ANSI color escape sequence

Ok, I connect to a server that uses ANSI to change the color of the text to red when there is an issue in a particular area. I am trying to build a script and I am trying to figure out how to grab the color of a text to see if it is red. SO I would like it to grab the text as such

lpResult = crt.Screen.Get(14, 41, 14, 41 + 1)

Then grab the color of that text to check to see if ANSI made it red.

Any ideas on how one would accomplish this?
Reply With Quote

ansi , color , crt.screen.get , red

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 02:19 PM.