Python Mouse Auto Clicker with PyAutoGui Tutorial 2021

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

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

  • @johnnydarko5411
    @johnnydarko5411 10 месяцев назад +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

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

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

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

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

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

    Subsribed👍 good learning channel

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

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

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

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

    nice vide

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

    Awesome

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

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

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

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

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

    Can we apply this for mobile web, Sir?

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

    magnifico

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

    Another tutorial for multiple pictures + loop ????

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

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

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

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

    How to use multiple cursor in py auto gui

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

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

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

    recomended MACRO RECORDER JITBIT is easy

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

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

  • @user-fc7pn5bo7v
    @user-fc7pn5bo7v 13 дней назад

    pt.moveTo(position)[1] + 15, position[1] + 15, duration = self.speed
    ^^^^^^^^^^^^^^^^^^^^^
    SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
    What is 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!

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

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