Python Mouse Auto Clicker with PyAutoGui Tutorial 2021

  Рет қаралды 42,898

Indently

Indently

3 жыл бұрын

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:
mouseaccuracy.com
Project:
github.com/federicocotogno/py...

Пікірлер: 43
@johnnydarko5411
@johnnydarko5411 4 ай бұрын
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!
@RenanCollopy
@RenanCollopy Жыл бұрын
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)
@ismailaskhatir6708
@ismailaskhatir6708 Жыл бұрын
Hey Renan, I tried the suggestion you proposed, but still not working. All I get is the print error image not found, I tried everything but I'm still stumped. If you have any other suggestions I'd appreciate it!
@mcbeepo
@mcbeepo Жыл бұрын
I have done what you have said, with the most recent version of pip, and I get this... Pip version (22.2.2) ERROR: Could not find a version that satisfies the opencv requirement (of versions: none) ERROR: No matching distribution found for opencv
@joaocarlosramoscarvalho2503
@joaocarlosramoscarvalho2503 2 жыл бұрын
i never comment but i have to take my hat off for you, thank you very much for this tutorial
@JabeRaddle
@JabeRaddle 2 жыл бұрын
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?
@jackwong2717
@jackwong2717 3 жыл бұрын
Subsribed👍 good learning channel
@timothytim1053
@timothytim1053 3 жыл бұрын
Why not use locateCenterOnScreen instead of doing + 15 and whatever?
@Indently
@Indently 3 жыл бұрын
Because I completely missed that when I was reading the documentation, thanks for the update!
@albertopenalver1435
@albertopenalver1435 2 жыл бұрын
Thanks for sharing this Is so amazing. One query, there any way to Select the specifict Windows name like SFO objet on windows
@lucagualandri4584
@lucagualandri4584 3 жыл бұрын
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?
@KerevizYT
@KerevizYT Жыл бұрын
Pw player
@KozzySox
@KozzySox 2 жыл бұрын
Hi, thank you for your video. Was wondering, how can I add multiple images? Just say 3 images to click 1 by 1. Thanks!
@Indently
@Indently 2 жыл бұрын
Hey Kozzy, Thanks for your comment! If you still need help, you can try asking on my Discord Server: discord.gg/9aZNGWgQ3d (There are hundreds of people that might be able to help you there.) I wish you a very pleasant day ⭐️
@stonedcodingtom9097
@stonedcodingtom9097 2 жыл бұрын
Awesome
@MirkoSonzogni
@MirkoSonzogni Жыл бұрын
hey how can i change it to become a two image clicker in sequences?
@vvs.on.laptop
@vvs.on.laptop 2 жыл бұрын
nice vide
@_prosperita
@_prosperita 3 жыл бұрын
magnifico
@hanin502
@hanin502 2 жыл бұрын
if there are two different picture,one after one,how can we deal with it?
@Mfrfachryy
@Mfrfachryy 2 жыл бұрын
Can we apply this for mobile web, Sir?
@mysteriousscience1877
@mysteriousscience1877 Жыл бұрын
How to use multiple cursor in py auto gui
@AzeerMe
@AzeerMe Жыл бұрын
Another tutorial for multiple pictures + loop ????
@gabrielrodriguesricardo
@gabrielrodriguesricardo 5 ай бұрын
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
@Indently
@Indently 5 ай бұрын
Usually there should be a key or something, but it’s some seriously dodgy business usually so be careful xD
@nahom2223
@nahom2223 2 жыл бұрын
The code never ends up finding the image even with a very low confidence
@dokumentasingemplaksalatig998
@dokumentasingemplaksalatig998 2 жыл бұрын
recomended MACRO RECORDER JITBIT is easy
@mcbeepo
@mcbeepo Жыл бұрын
image not found, how i can fix it?
@Indently
@Indently Жыл бұрын
We’re sorry to hear that you’re facing trouble with this tutorial. We have some suggestions for you: - First, try watching the tutorial again to check if you missed something (remember that programming languages are strict, and that uppercase & lowercase characters are completely different.) - Second, if you’re facing an error, try copying and pasting it into the Google search engine, it’s the fastest way to find the best response for the issue you are facing. - Third, if it’s still too confusing for you, try taking a step back and working on an easier project to try to improve your programming skills before tackling the project in this video. We wish you the best of luck with your project!
@1xCorr
@1xCorr 2 жыл бұрын
why is it taking so many screenshots? 5 gb in 10 mins
@disrael2101
@disrael2101 Жыл бұрын
You installed cv2 python at the beginning but never used it in ur code?!
@Indently
@Indently Жыл бұрын
You need it for the project to work
@Lunz
@Lunz 3 жыл бұрын
nice!!
@Zjerox
@Zjerox Жыл бұрын
I didn't understand shit but i want to. Where do i study this ?
@xoticxd
@xoticxd 3 жыл бұрын
Bro please bring instagram comment bot that comment on recent post from feeds not from hastage please reply
@Indently
@Indently 3 жыл бұрын
Instagram and Facebook bot tutorials are hard since they ban you very fast if you don't use the official API
@xoticxd
@xoticxd 3 жыл бұрын
@@Indently i need insta bot
@Indently
@Indently 3 жыл бұрын
@@xoticxd That's great mate
@xoticxd
@xoticxd 3 жыл бұрын
@@Indently how i contact u?
@arigato1901
@arigato1901 3 жыл бұрын
Just use insta-py ! 😉
@openmind3231
@openmind3231 Жыл бұрын
omol
How to make advanced image recognition bots using python
15:01
Kian Brose
Рет қаралды 1,3 МЛН
Auto Clicker Bot in Python
7:46
NeuralNine
Рет қаралды 104 М.
Como ela fez isso? 😲
00:12
Los Wagners
Рет қаралды 32 МЛН
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Рет қаралды 1,5 МЛН
Python Automation with PyAutoGUI | Full Course With Projects!
36:11
Code of the Future
Рет қаралды 160 М.
Python's 5 Worst Features
19:44
Indently
Рет қаралды 82 М.
Is "finally" Useless In Python?
7:02
Indently
Рет қаралды 49 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,4 МЛН
PyautoGUI: Three Great Uses
12:13
BaldGuyDIY
Рет қаралды 37 М.
5 Cool Python One-Liners
12:23
Indently
Рет қаралды 21 М.
How I make bots using python (educational)
17:12
Kian Brose
Рет қаралды 521 М.
Autoclicker for linux
1:12
Yoethan64
Рет қаралды 23 М.