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.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to