I want to make a script that uses "Mouse" and "Keyboard" libraries from Python. What I want it to do is once on a key press (q) the mouse moves to an exact point and left clicks. This is my code so far:
import mouse
def autolay():
mouse.move(x = "-1919", y = "592")
mouse.click('left')
Any help?