Python Forum
Why is left mouse click not working? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Why is left mouse click not working? (/thread-19764.html)



Why is left mouse click not working? - yeto - Jul-13-2019

import schedule
import pyautogui

def job():     # def is a function
    pyatutogui.click()    
        
schedule.every(.25).minutes.do(job)

while True:
    schedule.run_pending()
Why is left mouse click not working?

Thank you,
yeto


RE: Why is left mouse click not working? - yeto - Jul-13-2019

(Jul-13-2019, 02:58 PM)yeto Wrote:
import schedule
import pyautogui

def job():     # def is a function
    pyatutogui.click()    
        
schedule.every(.25).minutes.do(job)

while True:
    schedule.run_pending()
Why is left mouse click not working?

Thank you,
yeto
xxxxx
This coding stuff is hard ain't it!?


RE: Why is left mouse click not working? - yeto - Jul-15-2019

(Jul-13-2019, 02:58 PM)yeto Wrote:
import schedule
import pyautogui

def job():     # def is a function
    pyatutogui.click()    
        
schedule.every(.25).minutes.do(job)

while True:
    schedule.run_pending()
Why is left mouse click not working?

Thank you,
yeto

Figured it out. I need glasses.
yeto :)


RE: Why is left mouse click not working? - Yoriz - Jul-15-2019

Im guessing you was getting a pyatutogui not defined error from the line pyatutogui.click() due to the typo which should of been pyautogui.
Please include errors when something is not working, it would help to pinpoint why it is not working and it increases the chances of getting an answer.