[request] Find(img) and DragDrop the Screen to Middle
Bug #1532898 reported by
Chathura
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I constantly use Find(image) the get region around the image then do DragDrop the Screen to Middle. It would be nice to have a method where you find the image on screen and drag screen to middle. I constantly run into problems where myregion and dragDrop is outside screen space where script will stop working properly afterwards.
This code below finds the image and drag and drop to right.
icons=
sorted_icons = sorted(icons, key=by_x)
for t in sorted_icons:
t.highlight(2)
wait(1)
myregion=
myregion.
dragDrop(t, t.offset(
Changed in sikuli: | |
status: | New → Won't Fix |
To post a comment you must log in.