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

cuttext

Syntax

cuttext ('<window name>', '<component name>', <startindex>, <endindex>)

Description

Cut the text from startindex till the endindex in the component given by the component name

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

cuttext ('gedit', 'txtName', 1, 3)

This is to cut the text from the startindex position till the endindex in the 'txtName' field.

Author:
Kamakshi <poorvakrishna@yahoo.com>

Generated by  Doxygen 1.6.0   Back to index