← Back to team overview

sikuli-driver team mailing list archive

[Question #162070]: scroll using java

 

New question #162070 on Sikuli:
https://answers.launchpad.net/sikuli/+question/162070

Maybe this should be in a java forum, but i will give it a try here. 

I am scrolling a dropdown list using a java robot. In order to scroll until a certain object appears
I am using a while-loop.

while not exists(the object):
    from java.awt import Robot
    robot = Robot()
    robot.mouseWheel(100)

Using this code the wheel is just scrolling one step each loop. Is there a way to speed up the scrolling? There is about 200 objects in the dropdown list so it would be great if there was a faster way. 


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