sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37699
Re: [Question #235183]: Can I use Sikuli to get a window title?
Question #235183 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235183
Liam Deacon posted a new comment:
Hi - I've found a workaround with a subprocess call to xdotool. Try the
following Jython code:
import subprocess
def getActiveWindowName():
return subprocess.Popen(['xdotool', 'getWindowfocus', 'getwindowname'],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE).communicate()
Works for me on Red Hat Linux...
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.