Reputation: 159
How do I use pywinauto keyboard to send {LWIN} {SHIFT} {S} all a the same time keyboard.send_keys('{LWIN}+{S}) types an S into the windows search box. I want to do the equivalent of hold win key hold shift key hold s key all down simultaneously which causes the snip it function to start up. Thank you in advance
Upvotes: 1
Views: 1506
Reputation: 716
Try:
keyboard.send_keys("{LWIN down}""{VK_LSHIFT down}""s""{VK_LSHIFT up}""{LWIN up}")
Upvotes: 3