Quantcast
Channel: Mouse-click without moving cursor? - Stack Overflow
Viewing all articles
Browse latest Browse all 10

Answer by Steve Misuta for Mouse-click without moving cursor?

$
0
0

If you know the screen coordinates you want to click, you could try:

import pyautoguix, y = 500, 250 # or whateverpyautogui.click(x, y)

This will move to mouse pointer to (x, y) and do a left mouse click.


Viewing all articles
Browse latest Browse all 10

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>