dragDrop with no screenshot? just basic text.

Asked by arminius on 2017-06-13

I can't use a screenshot in this instance, needs to left click at x,y and drag to x,y.
I've done so much googling why is such a simple need no where in the documents?

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
arminius
Solved:
2017-06-14
Last query:
2017-06-14
Last reply:
2017-06-14
arminius (arminius75) said : #2

I couldn't find the answer in any of that, I see drag and drop there but I don't understand how to actually do it yet.
It's like these instructions were written for advanced programmer's, I'm just starting out.

masuo (masuo-ohara) said : #3

if you want to drag & drop from (300,300) to (450,450).

x1 = 300
y1 = 300
x2 = 450
y2 = 450
dragDrop(Location(x1,y1),Location(x2,y2))

arminius (arminius75) said : #4

worked great, thanks