ConsoleUser

Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com

This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.

All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.

class ATSPIKeyboardStrategy.ATSPIKeyboardStrategy(config)

Use the AT-SPI interface to add the given text.

has_meta(msg)

Check whether or not the message seems to contain any meta keys

type_and_verify_str(msg, start_x, start_y, font, system)

Type the message on the remote system, translating any meta keys in the message, and verify that each character shows up as expected.

Parameters:

  • msg: the formatted string to type

  • start_x: the X coordinate at which the first char will appear

  • start_y: the Y coordinate at which the first char will appear

  • font: the <no title> in which the characters will be rendered

  • system: a <no title> object controlling the remote system

type_str(msg, system)

Type the given string, translating any meta characters.

Parameters:

  • msg: the formatted string to type

  • system: a <no title> object controlling the remote system

up_all_mod_keys(system)

This doesn’t apply to this sort of system, so ignore it.