multi monitor: drag from one to another monitor

Asked by Sachin on 2018-08-06

i want to extend my primary screen display by using dragdrop option in sikuli to secondary screen, sikuli 1.1.3 is not supporting this.

ex: if i am running a youtube in chrome and i want to drag and drop this chrome tab to secondary monitor, when i tried this sikuli didn't allow me to capture image to drop tab in secondary screen

How can we try to resolve this issue?

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2018-08-06
Last reply:
2018-08-06
RaiMan (raimund-hocke) said : #1

Capture should allow you to grab an image from any of your monitors.

This should work in all cases (but may be slow and memory problematic) in the IDE.

dragStart = ALL.find(dragStartImage)
dragEnd = ALL.find(dragEndImage)
dragDrop(dragStart, dragEnd)

ALL is a predefined constant (like SCREEN) that represents a union region of all monitors.

Can you help with this problem?

Provide an answer of your own, or ask Sachin for more information if necessary.

To post a message you must log in.