skrypton-api / com.waicool20.skrypton.sikulix / SKryptonRegion / dragDrop

dragDrop

open fun <PFRML : Any> dragDrop(target: PFRML): Int

Overrides ISikuliRegion.dragDrop

Drags from region's last match and drop at given target using left mouse button.

Parameters

PFRML - Pattern, Filename (String), Region, Match or Location.

target - Target to drop at.

Exceptions

FindFailed - If the find operation failed.

Return
1 if possible, 0 otherwise.

open fun <PFRML : Any> dragDrop(t1: PFRML, t2: PFRML): Int

Overrides ISikuliRegion.dragDrop

Drag from a position and drop to another using left mouse button.

Parameters

PFRML - Pattern, Filename (String), Region, Match or Location.

t1 - Source position.

t2 - Target position.

Exceptions

FindFailed - If the find operation failed.

Return
1 if possible, 0 otherwise.