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 get mouse coordinates on click and release OhNoSegFaultAgain 1 144 May-17-2019, 06:56 PM
Last Post: buran
  can i get any xpath on click event? Prince_Bhatia 3 218 Apr-09-2019, 01:32 PM
Last Post: Larz60+
  str.format rounding to the left of the decimal ClassicalSoul 2 207 Mar-27-2019, 11:12 AM
Last Post: perfringo
  Move a character left or right in a file. DreamingInsanity 4 226 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 378 Jan-04-2019, 02:44 AM
Last Post: SheeppOSU
  take over control of mouse/keyboard ian 1 272 Dec-29-2018, 10:43 AM
Last Post: Larz60+
  Moving Mouse ian 1 284 Dec-25-2018, 10:41 AM
Last Post: Larz60+
  Download multiple images with one click andie31 0 457 Sep-13-2018, 10:37 AM
Last Post: andie31
  Python catch mouse click in pure text, no graphics samtal 7 818 Sep-10-2018, 03:02 PM
Last Post: samtal
  detecting mouse not working TheNumericDolfin 6 521 Aug-23-2018, 01:34 AM
Last Post: Windspar

Forum Jump:


Users browsing this thread: 1 Guest(s)