getcharcount ('<window name>', '<component name>')
Return the number of characters present in the component identified by the <component name>.
- Return values:
-
Refer:
http://webcvs.freedesktop.org/ldtp/ldtp/src/text.c
With respect to gedit
getcharcount ('gedit', 'txt0')
This will return the number of characters in the file presently open.
- Author:
- Premkumar J <prem.jothimani@gmail.com>