Python Forum
Why is left mouse click not working?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why is left mouse click not working?
#1
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
Reply
#2
(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!?
Reply
#3
(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 :)
Reply
#4
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Non repetitive mouse click Sartre 5 1,378 Apr-22-2023, 06:46 PM
Last Post: deanhystad
  PyQT5 - align left frohr 7 3,836 May-07-2022, 09:56 PM
Last Post: deanhystad
  how to mouse click a specific item in pygame? Frankduc 5 1,666 May-03-2022, 06:22 PM
Last Post: Frankduc
  How did one column get left-justified? Mark17 6 1,880 Feb-26-2022, 11:55 PM
Last Post: deanhystad
Exclamation Phyton Metin2 Game Left Click not working. Help anonym35 0 1,491 Feb-02-2022, 07:01 PM
Last Post: anonym35
  Explanation of the left side of this statement please rascalsailor 3 2,451 Sep-09-2020, 02:02 PM
Last Post: rascalsailor
  Move mouse and click in particular position biprabu 3 2,441 Sep-01-2020, 08:23 PM
Last Post: deanhystad
  How to left align logging messages Mekala 3 6,701 Jun-28-2020, 04:04 PM
Last Post: bowlofred
  Slide show with mouse click pausing aantono 1 2,154 Jan-28-2020, 04:25 AM
Last Post: Larz60+
  How to left align the columns SriRajesh 6 3,908 Dec-28-2019, 04:04 PM
Last Post: SriRajesh

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020