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

type

abstract fun type(text: String): Int

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.

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

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.

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

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.

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

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.