getactivewin ()
| The | active window title string. |
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/python/ldtputils.py
title = getactivewin ()
print 'Current active window title - ' + title
Gets the current active window title (window that is currently in focus).
ltfx binary - http://sourceforge.net/projects/ltfx