sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #57653
Re: [Question #698998]: showmonitors() value get save as None to a variable
Question #698998 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/698998
Status: Open => Answered
RaiMan proposed the following answer:
showMonitors() does not return anything (hence None), but prints a line
for each monitor to StdOut.
sthg. like this?
screens = ""
for i in range(Screen.getNumberScreens()):
screens += "Screen %d: %s || " % (i, Screen(i))
print screens
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.