WriteText

class WriteText(text: str, pause_time: float = 0.1)[source]

Bases: BaseInstruction

Type text through the keyboard backend.

property id: int

Return the unique instruction identifier.

Returns:

Instruction identifier.

Return type:

int

perform(*args, **kwargs)[source]

Execute the instruction.

Parameters:
  • args – Positional arguments required during execution.

  • kwargs – Keyword arguments required during execution.