← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #251433]: [1.0.1] dragDrop behavior seems to have changed - mouseDown + mouseMove works

 

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

Jeremiah Jacquet posted a new comment:
I am talking about scrolling a screen on a mobile simulator. Here is
what I used as a patch, but the problem with this is its not something i
can reuse / global.

		s.mouseMove("imgsAndroid/DragPlayArrow.png");
		s.mouseDown(Button.LEFT);
		Pattern SCROLL_LOCKED_VIDEO = new Pattern(Images.SCROLL_LOCKED_VIDEO);
		s.mouseMove(SCROLL_LOCKED_VIDEO);
		s.mouseUp(Button.LEFT);

The above code works but is dependent on something that is not constant
which is the  "DragPlayArrow.png"

 I want to use some that is constant and uses X,Y coordinates to scroll.
I will try your suggestion  above. Thanks RaiMan.

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