sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #31901
Re: [Question #265665]: About how sikuli works
Question #265665 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265665
Status: Open => Answered
RaiMan proposed the following answer:
- at 1:
since you use Screen.mouseMove(), the mouse moves from the left-click position from before to the centre of the point denoted in the mouseMove(). If the way of the mouse (direct line between the 2 points) crosses areas outside the drop down, this usually disappears.
BTW: if ever possible, one should navigate through menus, who's content is known, using the type() function simulating navigation keys and/or shortcuts to select a menu.
-- some mouse action during sikuli capture the screenshot.
what screenshot do you mean?
the internally used capture function during find operations uses the Java-Robot feature, where no mouse action is involved
at 2: How does the sikuli works?
http://sikulix-2014.readthedocs.org/en/latest/basicinfo.html#sikulix-how-does-it-find-images-on-the-screen
at 3: if you ever want to look into the SikuliX code, to find out how it works, then you should use version 1.1.0 and the related code at https://github.com/RaiMan/SikuliX-2014.
If you want to understand sections, where native code (C++) is involved, this might cost you a few days, depending on what it is.
If you would even try this with earlier versions of Sikuli, it might cost you weeks (be sure I know, what I am talking about - I have done this and still am not at the end of the road)
So if you have questions, first ask, before looking into the code ;-)
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.