pywinauto_recorder.player.send_keys
- pywinauto_recorder.player.send_keys(str_keys, pause=None, with_spaces=True, with_tabs=True, with_newlines=True, turn_off_numlock=True, vk_packet=True)[source]
Parses the keys and type them You can use any Unicode characters (on Windows) and some special keys. See https://pywinauto.readthedocs.io/en/latest/code/pywinauto.keyboard.html
- Parameters
str_keys (
str
) – string representing the keys to be typedpause (
Optional
[float
]) – pause in seconds between each typed keywith_spaces (
bool
) – if False spaces are not taken into accountwith_tabs (
bool
) – if False tabs are not taken into accountwith_newlines (
bool
) – if False newlines are not taken into accountturn_off_numlock (
bool
) – if True numlock is turned offvk_packet (
bool
) – For Windows only, pywinauto defaults to sending a virtual key packet (VK_PACKET) for textual input
- Return type
None