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

type

open fun type(text: String): Int

Overrides ISikuliRegion.type

Types the given text into the current caret position. Only ASCII characters are supported.

Parameters

text - Text to type.

Return
1 if possible, 0 otherwise.

open fun type(text: String, modifiers: String): Int

Overrides ISikuliRegion.type


open fun type(text: String, modifiers: Int): Int

Overrides ISikuliRegion.type

Types the given text into the current caret position. Only ASCII characters are supported.

Parameters

text - Text to type.

modifiers - Modifiers to press while typing.

Return
1 if possible, 0 otherwise.

open fun <PFRML : Any> type(target: PFRML, text: String): Int

Overrides ISikuliRegion.type

Types the given text into the target. Only ASCII characters are supported.

Parameters

target - Target to type into

text - Text to type.

Exceptions

FindFailed - If the find operation failed.

Return
1 if possible, 0 otherwise.

open fun <PFRML : Any> type(target: PFRML, text: String, modifiers: String): Int

Overrides ISikuliRegion.type


open fun <PFRML : Any> type(target: PFRML, text: String, modifiers: Int): Int

Overrides ISikuliRegion.type

Types the given text into the target. Only ASCII characters are supported.

Parameters

target - Target to type into

text - Text to type.

modifiers - Modifiers to press while typing.

Exceptions

FindFailed - If the find operation failed.

Return
1 if possible, 0 otherwise.