sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #35123
Re: [Question #272154]: [1.1.0] Is there a way to integrate a (background) observer with wheel()?
Question #272154 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/272154
Glowing Crystalline Entity posted a new comment:
Ahhh, clever! :)
And in fact... for the case of scrolling, if you know how much a wheel
step moves the page, and you can figure out how far in total you need to
move the page (not always, but at least sometimes possible), then you
just figure out a priori how many steps you need to take, and you don't
even need to worry about background observers and matching and such.
Matching a target could just be used as a validation then, and would go
more into error handling than more scrolling if it failed.
(... and I'm also having a problem with false matches, which this
approach might also help alleviate.)
--- where to put my effort in
OCR! OCR! OCR! ;-)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.