Dart Home | PowerTCP Emulation for ActiveX | Custom Development | Reply | PowerTCP Emulation / Telnet for ActiveX Topics | Forums |
Author | Forum: PowerTCP Emulation / Telnet for ActiveX Topic: Screen Scraping Colors |
davehecker From: Tallahassee, FL USA Posts: 2 Member Since: 10/30/03 |
posted October 30, 2003 11:18 AM I'm reviewing the VT terminal emulation control because I need to automate scraping many screens so that each "image" can be recreated in an environment that does not support ActiveX controls. The ability to connect and read the .Text and .Style properties get me 60% of the way there, but I don't see similar properties that would return each character's foreground and background colors. Like Text and Style, it seems like that data's got to be readily available for your control to redraw the display, so I'm hoping I'm just overlooking the properties? If not, do you have any suggestions on how I can scrape each character's color settings? Thanks, --Dave |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted October 30, 2003 11:27 AM Unfortunately there is no property that would tell you that. The colors come from the escape codes so if you have a Vt reference available you could figure out what sequences do what colors. If this is something that you feel should be added to the product, please contact suggestions@dart.com |
davehecker From: Tallahassee, FL USA Posts: 2 Member Since: 10/30/03 |
posted October 30, 2003 11:47 AM I've got docs on the escape sequences, but how can I get the VT emulation control to give me the "raw" data (that has the escape sequences in it) for the current display? (And wouldn't I have to interpret ALL the escape codes, including cursor positioning codes, in order to know which rows/cols the font change was being applied to?) Finally, do you know if "adding properties for foreground/background colors" is something Dart would do as "custom programming"? Thanks again, --Dave |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted October 30, 2003 11:53 AM Yes, that's correct. You would have to parse the data before you pass it to Display. We consider all requests for custom programming. |
Reply | PowerTCP Emulation / Telnet for ActiveX Topics | Forums |
This site is powered by
![]() |