Question #679374 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679374

RaiMan proposed the following answer:
I just had a look into the code:
- I have removed the getDevices() method (makes no sense in the SikuliX context)
- for now (other priorities) there will not be a feature to list the attached 
devices

workaround:
devices = []
scr = ADBScreen()
while scr.isValid():
    devices.append(scr)
    scr = ADBScreen(len(devices))

print "attached devices:", len(devices)
n = 0
for scr in devices:
    print "%d = %s" % (n, scr)
    n += 1

-- 
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