EditSelect - select data for cut and copy

Return to Introduction  Previous page  Next page

EditSelect(top,left,bottom,right)

Where:

topis the first row of the selection rectangle.        
leftis the left column of the selection rectangle.         
bottomis the last row of the selection rectangle.        
rightis the right column of the selection rectangle.         

 

top, left, bottom and/or right may be variables.

The EditSelect command selects data in the specified rectangle.  The selected data may be moved to the clipboard  using the following commands:

 

Key(EditCopy)

key(EditCopyAppend)

Key(EditCut)

Key(EditCutAppend)

 

Examples

EditSelect(1,1,10,80)

EditSelect(24,1,24,80)

EditSelect($TOP,$LEFT,$BOTTOM,$RIGHT)

 

Sample Script

' This script copies screen data to the clipboard

' and then saves the data to a file.

EditSelect(1,1,5,80)        

key(EditCopy)        

FileSpec(clipboard,c:\ClipboardData.txt",append)        

key(EditSaveClipboard)        

exit

 

See Also:

 

Script Command Summary

Script Variables

Using the Scripting Language


TN3270 Plus is continually being improved. To learn more about the latest enhancements, please review our Version History web page.