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 309 May-17-2019, 06:56 PM
Last Post: buran
  str.format rounding to the left of the decimal ClassicalSoul 2 348 Mar-27-2019, 11:12 AM
Last Post: perfringo
  Move a character left or right in a file. DreamingInsanity 4 409 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 590 Jan-04-2019, 02:44 AM
Last Post: SheeppOSU
  Python catch mouse click in pure text, no graphics samtal 7 1,243 Sep-10-2018, 03:02 PM
Last Post: samtal
  detecting mouse not working TheNumericDolfin 6 718 Aug-23-2018, 01:34 AM
Last Post: Windspar
  Mouse click movements? [UPDATED] minnaadel 3 909 Mar-31-2018, 05:15 PM
Last Post: woooee
  Can't change Right to left id spawning/ movement to top to bottom Kingrocket10 3 1,172 Dec-14-2017, 11:05 PM
Last Post: Larz60+
  How to trigger a function by clicking the left mouse click? HelloBoyz 1 2,938 Jun-29-2017, 09:43 PM
Last Post: nilamo

Forum Jump:


Users browsing this thread: 1 Guest(s)