Python Mouse Auto Clicker with PyAutoGui Tutorial 2021

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 43

  • @johnnydarko5411
    @johnnydarko5411 9 месяцев назад +1

    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 2 года назад +9

    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 2 года назад

      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 2 года назад +1

      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

  • @timothytim1053
    @timothytim1053 3 года назад +17

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

    • @Indently
      @Indently  3 года назад +16

      Because I completely missed that when I was reading the documentation, thanks for the update!

  • @joaocarlosramoscarvalho2503
    @joaocarlosramoscarvalho2503 3 года назад +1

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

  • @KozzySox
    @KozzySox 3 года назад +7

    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  3 года назад +3

      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 ⭐️

  • @lucagualandri4584
    @lucagualandri4584 3 года назад +4

    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?

  • @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

  • @nahom2223
    @nahom2223 2 года назад +2

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

  • @hanin502
    @hanin502 3 года назад +1

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

  • @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?

  • @AzeerMe
    @AzeerMe Год назад

    Another tutorial for multiple pictures + loop ????

  • @gabrielrodriguesricardo
    @gabrielrodriguesricardo 11 месяцев назад

    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  11 месяцев назад +1

      Usually there should be a key or something, but it’s some seriously dodgy business usually so be careful xD

  • @MirkoSonzogni
    @MirkoSonzogni Год назад

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

  • @jackwong2717
    @jackwong2717 3 года назад +1

    Subsribed👍 good learning channel

  • @mysteriousscience1877
    @mysteriousscience1877 2 года назад

    How to use multiple cursor in py auto gui

  • @1xCorr
    @1xCorr 2 года назад +1

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

  • @Mfrfachryy
    @Mfrfachryy 3 года назад

    Can we apply this for mobile web, Sir?

  • @vrajsavani
    @vrajsavani 3 года назад +1

    nice vide

  • @stonedcodingtom9097
    @stonedcodingtom9097 2 года назад

    Awesome

  • @disrael2101
    @disrael2101 2 года назад

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

    • @Indently
      @Indently  2 года назад

      You need it for the project to work

  • @dokumentasingemplaksalatig998
    @dokumentasingemplaksalatig998 3 года назад

    recomended MACRO RECORDER JITBIT is easy

  • @Zjerox
    @Zjerox Год назад

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

  • @mcbeepo
    @mcbeepo 2 года назад

    image not found, how i can fix it?

    • @Indently
      @Indently  2 года назад

      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!

  • @pro5perita
    @pro5perita 3 года назад +1

    magnifico

  • @Lunz
    @Lunz 3 года назад

    nice!!

  • @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 года назад +4

      @@xoticxd That's great mate

    • @xoticxd
      @xoticxd 3 года назад

      @@Indently how i contact u?

    • @arigato1901
      @arigato1901 3 года назад

      Just use insta-py ! 😉

  • @openmind3231
    @openmind3231 2 года назад

    omol