sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #10845
Re: [Question #198840]: Attributes of button
Question #198840 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/198840
Status: Open => Answered
Jacob Dorman proposed the following answer:
As for the commands in Sikuli, you should visit the documentation at
http://sikuli.org/docx/index.html
It's tricky to find the color or size of a button using Sikuli. Sikuli
uses pre-existing patterns in its operations (images taken before run-
time), so in essence you're trying to do the reverse by looking for a
previously unknown pattern, and then getting attributes for it.
Right now, Sikuli doesn't itself have functionality to tell you the
color of a pixel on the screen, and though you could do some operations
to find the size of a button if you knew what the borders looked like or
where it would be, it's more complicated and requires knowing what the
button looks like.
In short, I don't think Sikuli can do what you're asking.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.