← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #202219]: Android+windows xp

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- I am using mouse wheel to scroll the screen
So you can use the wheel() method:

s.wheel(1, 10) # down 10 steps

s.wheel(-1, 10) # up 10 steps

you have to check which direction to apply and how many steps to use, to
get your screen scrolled.

The focus should not be a problem, since you just clicked before and the
window has focus.

BTW: If not already the case: you should set s to the content region
(the image of the handy) of the emulator window, this makes things
faster and more robust.

--- I have added the screen shot also
cannot be posted here. must be somewhere in the net with the link added in the post.
But a screenshot would not help here anyway.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.