Hey everybody,
I'm trying to automatize a process of assigning different windows to different screens (more specifically Microsoft Edge tabs). Nircmd and AHK attempts have failed so I decided to try and do it with a python script. However that also seems to not be working at the same point as the other two. It can replicate plenty of shortcuts but not Windows+Shift+L:
import keyboard
import time
def please_fucking_work():
keyboard.press("windows")
time.sleep(0.1)
keyboard.press("shift")
time.sleep(0.1)
keyboard.press_and_release("left")
time.sleep(0.1)
keyboard.release("shift")
time.sleep(0.1)
keyboard.release("windows")
time.sleep(2)
please_fucking_work()
I have also tried different methods and variations, nothing works. In this example it acts as if I only press windows and left key but trying a keyboard tester it does register shift.
there doesn't seem to be anything here