Bottom Page

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
Quote
#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!?
Quote
#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 :)
Quote
#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.
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  How to left align logging messages Mekala 3 259 Jun-28-2020, 04:04 PM
Last Post: bowlofred
  Slide show with mouse click pausing aantono 1 219 Jan-28-2020, 04:25 AM
Last Post: Larz60+
  How to left align the columns SriRajesh 6 558 Dec-28-2019, 04:04 PM
Last Post: SriRajesh
  mouse 0.7.0 - mouse polling hate 125-1000hz penahuse 1 298 Dec-06-2019, 09:51 PM
Last Post: Larz60+
  How to get mouse coordinates on click and release OhNoSegFaultAgain 1 589 May-17-2019, 06:56 PM
Last Post: buran
  str.format rounding to the left of the decimal ClassicalSoul 2 540 Mar-27-2019, 11:12 AM
Last Post: perfringo
  Move a character left or right in a file. DreamingInsanity 4 825 Mar-21-2019, 07:52 PM
Last Post: DreamingInsanity
  Help! Turtle not working, even when we click the turtle demo in IDLE nothing happens. BertyBee 3 1,328 Jan-04-2019, 02:44 AM
Last Post: SheeppOSU
  Python catch mouse click in pure text, no graphics samtal 7 2,089 Sep-10-2018, 03:02 PM
Last Post: samtal
  detecting mouse not working TheNumericDolfin 6 1,150 Aug-23-2018, 01:34 AM
Last Post: Windspar

Forum Jump:


Users browsing this thread: 1 Guest(s)