import schedule
import pyautogui
def job(): # def is a function
pyatutogui.click()
schedule.every(.25).minutes.do(job)
while True:
schedule.run_pending()
Jul-13-2019, 09:34 PM (This post was last modified: Jul-13-2019, 09:34 PM by yeto.)
(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()
import schedule
import pyautogui
def job(): # def is a function
pyatutogui.click()
schedule.every(.25).minutes.do(job)
while True:
schedule.run_pending()
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.