Logo Search packages:      
Sourcecode: ldtp-doc version File versions  Download package

copytext

Syntax

copytext ('<window name>', '<component name>', <startoffset>, <endoffset>)

Description

Copies text within specified offset present in the specified <component> into clipboard

Implementation

Return values:
1 on success and 0 otherwise
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/src/text.c

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 <prem.jothimani@gmail.com>

Generated by  Doxygen 1.6.0   Back to index