Reference:
AHKSendAction
AHKSendAction.__init__()
AHKPressAction
AHKPressAction.__init__()
WinSoundAction
WinSoundAction.__init__()
AHKMakeWindowActiveAction
AHKMakeWindowActiveAction.__init__()
PauseAction
PauseAction.__init__()
Send inputs using AutoHotkey
Availability: Windows
send_string (str) – the keys to send - uses AutoHotkey’s Send function
str
Press (and release) a single key. Adds small delay between key down and key up, useful for making sure games register inputs.
key (str) – the key to press. Do not include braces for special keys.
Play a sound (wav file)
sound_file_path (str) – the path to the sound file. Must be .wav format.
Make a window active, ensuring it has focus
win_get_kwargs (Unpack[ConfigDict])
Sleeps for specified time
Availability: all platforms
seconds (float | int) – time in seconds to sleep
float
int