pywinauto keyboard.sendkeys()。发送相当于同时按住几个键

pywinauto keyboard.sendkeys(). Send the equivalent of holding down several keys at the same time

如何使用pywinauto键盘同时发送{LWIN} {SHIFT} {S} keyboard.send_keys('{LWIN}+{S}) 在 windows 搜索框中输入 S。我想做相当于按住 win 键按住 shift 键同时按住 s 键的操作,这会导致 snip it 功能启动。提前谢谢你

尝试:

keyboard.send_keys("{LWIN down}""{VK_LSHIFT down}""s""{VK_LSHIFT up}""{LWIN up}")