Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

start capture of incoming data through macro

Status
Not open for further replies.

Jblice

Technical User
Nov 15, 2005
2
US
I'm trying to write a MACRO for MYXTRA-EXTRA! that will capture an incoming data stream to a file directly. Although I can do this using the Capture incoming data function on the menu option, what is the way to initiate and then terminate the capture through the macro?

Thanks.
 
How much data do you need to collect? It's relatively easy to capture parts or all of a given screen. What would be your triggers or reasons for starting/stopping the capture?

Here's how to capture and write a full screen to text on the session I use.

yourdata = yourscreen.Area(1,1,24,80)

Open "C:/blah/blah/yourfile.txt" For Output As #1
Write #1, yourdata
Close #1

you can also use a specific location in liu of the whole screen
 
The amount of data is variable. There is a stream of data that will take up one or more screens.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top