Hi there, i just purchased procomm earlier today and was playing with the scripting part. I found that procomm matches strings fine if ansi is turned off, but if the incoming data contain ansi sequences and stuff (colors) it doesn't catch them in when or waitfor statements.
Is there a way around this?
actually what i found was if the incoming text contain multiple colors and you are trying to wait for a few words and say they are different colors.
eg)
Blue Cat strolls down the road
Blue would be blue, and Cat would be red. If you wait for Blue Cat, it won't show up if ANSI is on. But if you turn ansi off it works. I want to know if there is a easy way to strip the ansi characters so that the waitfors and whens will work no matter if you are viewing colors or not
Thank You
James
Is there a way around this?
actually what i found was if the incoming text contain multiple colors and you are trying to wait for a few words and say they are different colors.
eg)
Blue Cat strolls down the road
Blue would be blue, and Cat would be red. If you wait for Blue Cat, it won't show up if ANSI is on. But if you turn ansi off it works. I want to know if there is a easy way to strip the ansi characters so that the waitfors and whens will work no matter if you are viewing colors or not
Thank You
James