abstract fun type(text: String): Int
Types the given text into the current caret position. Only ASCII characters are supported.
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.
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.
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.
modifiers
- Modifiers to press while typing.
FindFailed
- If the find operation failed.
Return
1 if possible, 0 otherwise.