Pyautogui - How to use the locate on screen command

preview_player
Показать описание
This is a pyautogui tutorial on how to use the locate on screen and locate center on screen command. The language this is programmed in is python. The library used for this video is pyautogui.

This video was edited by Jason. Thanks Jason.

This is an example of gui automation using python and pyautogui. This is one part in a tutorial series on pyautogui.
Рекомендации по теме
Комментарии
Автор

Hey guys, I'm sponsored now! Try Maw Energy, a simple solution to energy. Get your first 60 servings free!

itsBenjamon
Автор

You came to my help. I could not find a video or an article about this anywhere, thank you very much.

topraktunca
Автор

Days and days of looking through the most complex videos and all it takes is this... 🥵📈

threericky
Автор

Yo 2022 im here watching your video man ! thanks, im learning Python!

hiimifranco
Автор

why cant more tutorials be like this lol

RenRenRen
Автор

Perfect video.!! This has no business being this funny haha.

joseaveiga
Автор

Thank you so much you taught me so awesomely than any one
❤❤❤❤

ki-opjq
Автор

great stuff.
i was looking for something like this.

sunmoonstarkiwi
Автор

any idea on how to make it not click when it doesn't find the image?

also great tutorial, finally found a way to make this program work

Reptilionboy
Автор

I'm from Brazil, it's a pleasure to meet your channel.

I'm running PyautoGUI and even with other open screens or programs, the screenshot or locateCenterOnScreen, it always takes the MAC home page, the opening screen without icons, just the background screen and the top menu.

Do you know why and how to solve it?

leodmx
Автор

Useful) And very funny cool style of the vid)

Arman
Автор

what can I do if the image I'm trying to locate changes dimensions? for example, if it gets smaller? I try using confidence at .50 but I did not work any suggestion?

luisdeanda
Автор

not gonna lie this is actually preety funny hahaha keep it up

adonis
Автор

why in my computer it returns "none" for the new tab? is the screenshot too small to locate>?

fuad
Автор

Cool thank you! Do you know how it works when there a multiple times the same image on the screen? Does it return the first one in a specific or random order or does it crash?

Shmolitz
Автор

Ok now how would i scan for more then one variation of the photo? like if i take a bunch of photos so it has more to run off of.

Arahsaka
Автор

Very cool, helpful and fun, subscribed lol :)

justinlema
Автор

We want o create a virtual centos operating system and we need to open GUI using selenium webdriver in non headless mode and want to run some pyAutoGui it so could you please give some insights like how to enable non headless mode, how to enable mouse click etc...

vidyacollections
Автор

Can i contact with you cause i write the code perfect the same like you in video and it doesn't work

newek
Автор

Great mentioning : "Coolest channel on earth" 🤭

lofiscide