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

wheel

open fun wheel(direction: Int, steps: Int): Int

Overrides ISikuliRegion.wheel

Spins the mouse wheel.

Parameters

direction - Direction to spin the mouse wheel in.

steps - Number of steps the wheel is spinned.

Return
1 if possible, 0 otherwise.

open fun <PFRML : Any> wheel(target: PFRML, direction: Int, steps: Int): Int

Overrides ISikuliRegion.wheel

Spins the mouse wheel at the given target

Parameters

target - Target to spin the wheel at.

direction - Direction to spin the mouse wheel in.

steps - Number of steps the wheel is spinned.

Exceptions

FindFailed - If the find operation failed.

Return
1 if possible, 0 otherwise.

open fun <PFRML : Any> wheel(target: PFRML, direction: Int, steps: Int, stepDelay: Int): Int

Overrides ISikuliRegion.wheel

Spins the mouse wheel at the given target

Parameters

target - Target to spin the wheel at.

direction - Direction to spin the mouse wheel in.

steps - Number of steps the wheel is spinned.

stepDelay - The delay in milliseconds between each wheel step.

Exceptions

FindFailed - If the find operation failed.

Return
1 if possible, 0 otherwise.