← Back to team overview

sikuli-driver team mailing list archive

[Question #259261]: Problem with dragDrop method in Java

 

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

Hi guys,

I'm stopped at this point. I have to drag and drop using sikuli-java 1.1.0

My code is:

Screen sikuli = new Screen();
Pattern imgPattern = new Pattern ("sun.jpg");
sikuli.dragDrop(imgPattern,imgPattern.targetOffset(10,400));

I expect to select the pattern and move the picture to (10,400) but my instruccion just click at (10,400) without dropping.

What am I doing wrong?

Best regards,

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