|
Summary
The GetSelectedText method is one of three methods that allow screen scraping of a VT 220 screen. It allows you to scrape the user highlighted section of the screen.
Syntax
String GetSelectedText ()
Description
The GetSelectedText method allows you to scrape the portion of text highlighed by the user into a Buffer. It takes the first highlighted text position and the last highlighted text postion
as the co-ordinates and returns the data between these two co-ordinates as a string.
For this method to succeed the CopyClipboard property must be set to TRUE otherwise it will return an error.
See Also
GetText and GetScreenText methods
Example
Dim Buffer as string If CopyClipboard = True Then Buffer = Vt220.GetSelectedText () End If
|