Solved

Capture Text

Posted on 1998-11-20
6
264 Views
Last Modified: 2010-05-03
I need to control Hyperterminal (with sendkeys) and do certain commands based on what is printed to the screen. How can I capture this text for analyses?

0
Comment
Question by:Neal Hartman
  • 3
  • 3
6 Comments
 
LVL 2

Accepted Solution

by:
ChrisK earned 100 total points
ID: 1445933
Here is 1 possible solution.

Use sendkeys to hold down shift and press page down, then press control + C to copy the text on screen.  Then use Clipboard.GetText in your application to import the data on your terminal screen as text.  Then make a module that parses your text to seperate the commands you want from the other junk.  To send commands back to it, you could use sendkey, but it would be easier yet to just use paste since anything you type in hyperterminal is treated like a command (Paste to Host).
0
 
LVL 1

Author Comment

by:Neal Hartman
ID: 1445934
It works. Any idea how I can stop the screen from flashing during the capture?


0
 
LVL 2

Expert Comment

by:ChrisK
ID: 1445935
flashing?  I'm afraid I don't understand what you mean.
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 1

Author Comment

by:Neal Hartman
ID: 1445936
The viewer sees the cursor go home and highlight everything to the end. He sees the screen "FLASH".

0
 
LVL 2

Expert Comment

by:ChrisK
ID: 1445937
That can't be prevented.  You HAVE to highlight the data to capture.
0
 
LVL 1

Author Comment

by:Neal Hartman
ID: 1445938
The viewer sees the cursor go home and highlight everything to the end. He sees the screen "FLASH".

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now