Python Mouse Auto Clicker with PyAutoGui Tutorial 2021

preview_player
Показать описание
What is up guys? In this video I'll be showing you how you can create a very simple autoclicker in Python using PyAutoGui. Works for both Mac and Windows.

Target practise:

Project:
Рекомендации по теме
Комментарии
Автор

I needed to also "pip install Pillow" for this to run, and after that it worked great! Thanks for the video! Also, display resolution and resolution scale seemed to mess with the accuracy, so I dialed the monitor into 1920x1080 and reccomended resolution scale, which helped. Increasing the if end > to a higher value kept the program running until the end as well. Fun project!

johnnydarko
Автор

if someone is experience something wrong with the image search, try to put "target_png=..." inside the Clicker call too. Example in line 22: clicker = Clicker(target_png='Image\Test.png', speed=.001), it works for me. (also try to pip install opencv)

RenanCollopy
Автор

i never comment but i have to take my hat off for you, thank you very much for this tutorial

joaocarlosramoscarvalho
Автор

Why not use locateCenterOnScreen instead of doing + 15 and whatever?

timothytim
Автор

Hi, thank you for your video. Was wondering, how can I add multiple images? Just say 3 images to click 1 by 1. Thanks!

KozzySox
Автор

Thanks for sharing this Is so amazing. One query, there any way to Select the specifict Windows name like SFO objet on windows

albertopenalver
Автор

Hello man, what could I do if I want to find different images and not only the circle?

Let's say i'm trying to make a bot that click on a fish (2D), but the fish can swim around and change his position (lets assume only 8 different posizions: 2 vertical (up/down), 2 horizontal (left/right), 4 oblique(etc), so in total 8 different images).

How could I check all the different images in the same time?

lucagualandri
Автор

What’s the best way to abort application that is controlling your mouse?
I’m struggling a lot 😂
I would like to press “esc” and stop this script instead of while loop

gabrielrodriguesricardo
Автор

if there are two different picture, one after one, how can we deal with it?

hanin
Автор

Another tutorial for multiple pictures + loop ????

AzeerMe
Автор

The code never ends up finding the image even with a very low confidence

nahom
Автор

I get an issue where end increments too fast so the script stops before the test is over. I can increase the if end > x line to make the number bigger, but is there another way too? Does changing the speed make it check less often for the image?

JabeRaddle
Автор

hey how can i change it to become a two image clicker in sequences?

MirkoSonzogni
Автор

Can we apply this for mobile web, Sir?

Mfrfachryy
Автор

pt.moveTo(position)[1] + 15, position[1] + 15, duration = self.speed

SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?





What is this?

fcpnbov
Автор

How to use multiple cursor in py auto gui

mysteriousscience
Автор

why is it taking so many screenshots? 5 gb in 10 mins

xCorr
Автор

recomended MACRO RECORDER JITBIT is easy

dokumentasingemplaksalatig
Автор

You installed cv2 python at the beginning but never used it in ur code?!

disrael
Автор

I didn't understand shit but i want to. Where do i study this ?

Zjerox
welcome to shbcf.ru