LDTP
3.0.0
|
copytext('<window name>', '<component name>', <startoffset>, <endoffset>)
Copies text within specified offset present in the specified <component> into clipboard
1 | on success and 0 otherwise |
Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/src/text.c
With respect to gedit tool structure
copytext('gedit', 'txt0', 5,10)
This is to copy the text within the offset specified from the 'txt0' field into clipboard.