Download LDTP Reference Manual
Transcript
3.48 3.47.3 copytext 28 Implementation Return values: 1 on success and 0 otherwise Refer: http://cvs.freedesktop.org/ldtp/pyldtp/text.c 3.47.4 Example With respect to gedit tool structure cuttext (’gedit’, ’txtName’, 1, 3) This is to cut the text from the startindex position till the endindex in the ’txtName’ field. Author: Kamakshi <[email protected]> 3.48 copytext 3.48.1 Syntax copytext (’<window name>’, ’<component name>’, <startoffset>, <endoffset>) 3.48.2 Description Copies text within specified offset present in the specified <component> into clipboard 3.48.3 Implementation Return values: 1 on success and 0 otherwise Refer: http://cvs.freedesktop.org/ldtp/pyldtp/text.c 3.48.4 Example 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. Author: Premkumar J <[email protected]> Generated on Sat Nov 19 14:38:57 2005 for LDTP by Doxygen