I wish i had watched this video before. My tendinitis and the 800 documents i have (now had :D) to check manually until Monday for work thank you a hell of a lot, sir. Awesome content.
@@BekBrace why? I'm not English so can you explain please? I wanted to say that I was tired because it was 2 am but I wanted to watch the video(which I enjoyed) and you voice is calm and charming and it made me even sleepier
Ok, let's do in parts To clarify, VSCode itself doesn't install anything it's just an editor for managing and editing files (like notepad does). To install python librarys you can use the command line (terminal), in windows is cmd or powershell. To open the comand line in VSCode you go to the top left in the Three dots ("...") chose terminal. There is gonna open your terminal in VSCode, you type "pip install pyautogui" and pip install to you the library pyautogui and any additional dependencies it requires. You can do this with any new Library you want to use just changing the name for the package, but "pip install (package)" is the same
Bro..y ou got a calming voice and a really easy to understand method of teaching, REP+ and hope you find success and it was a really fun experiance learning this from your video.
Thank you so much man, I modified my typing thing a bit so I had a delay before it did it and so it did it like 10 times so now I can spam my friends on discord. Thank you so much!!!!!
Thank you so much !! The video was great 👍. I have a question that will the pyautogui.hotkeys() command work if I want to press the windows key and up arrow key together to maximize my window ? Please clear my doubt.
You all prolly dont care but does any of you know a trick to get back into an Instagram account? I stupidly forgot my password. I would love any tips you can offer me
i have made this program for 100 iterations that takes 15 minutes in using many applications, so how can i run this automation program in the background? that i wanna save my 15 minutes or do another program or task?
That's an excellent question, and I've been looking myself for an automation solution that can run in the background , as long as I know there is no way we can do that, but I'll keep searching for an answer to that question
Hello Bek! Your video was really useful, I can't thank enough. May I ask, is there a way to make python work in the "background"? What I mean is, how can I do anything else, while the code is running in a specific windows only? Can you advise a tutorial for that? I'd be thankful.
Hello my friend, and thank you very much for your comment. Actually, this is very good question, and I have been looking for a solution for this issue; I do some automation macros in VBA for excel, and I have the same issue: I cannot do anything till the macro finishes When I get an answer I will let you know for sure
Hello Bec. Thank you! . I have a question: I try to use complex characters like " \" in a windows path, but pyautogui.typewrite does not work typing this kind of characters. Help me please. Thank you again!
Hi. I'm working in a boot that open a specific route in CMDER . Sample: pyautogui. Typewrite ("C\archives \programming epository ") but the result is : C archives programming repository. Thank you!
@@BekBrace man i literally used this pyautogui to cut all my lengthy editing steps in premier pro , so now i can press one button and it'll directly apply one effect to the clip , no need of drag and type over and over again now , PURE LIFESAVER :) trying to learn more for further improvement .
Hey Bek, that was great and informative content, thank you so much for the Video. Do you know, if it is allowed in the terms and services to use pyautogui in the workspace?
Thanks for the video. I have tried to use this module. But when scheduling three consecutive clicks outside of Visual Studio Code, the script only do one click. Why will it be?
@@BekBrace Thanks for answering. I want my script to click on a window of an accounting program, then navigate its menus. I wrote the coordinates of each menu. But when I run the script, it only gives 1 click and not the others that I programmed. Does it have something to do with pillow?
@@joseantonioperedarios2811 ohhh I see what you mean. pillow is an images library so I don’t know how it could help in this particular situation, but honestly I never encountered this issue; I’ll try to find a solution and get back to you, meanwhile, you can search the web for an answer
I have a simple bot for a website that I use, but it stopped working(site update). It’s a typescript and follows a selenium-based script that uses a very simple algorithm. Do you think you can help me identify the problem? Thank you for you help!!!
thank you very much for this video! i just want to doublecheck: once you've created your mouse input function, you could then just inplement this in a while loop, right? to just keep it going for however long? let's say i have 500 papers to click through, i can just let it run? sorry if you covered this in the video. thank you again!
no problem :) as far as I know pyautogui does not have a built-in function for holding down the right-click. However, you can achieve this behavior by combining pyautogui.mouseDown() and pyautogui.mouseUp() functions with the appropriate mouse button parameter.
In none of your videos do you explain to a noob how to get that interface you have. I installed python and run it and it just looks like normal windows command prompt & keeps saying "pip' did you mean 'zip' when I try to install autogui? Plus nowhere can i find the simple looking GUI you have in this vid....how do I get that ? Seriously, there should be a non convoluted way to install this....its easier to just use c++ at this point.....
In this vid ? you mean "in this video" ! I have no idea what you're talking about when you say "the interface you have". what's the issue with pip ? pip is a package manager through which you can install modules/packages/dependencies that you may use in your app. Again with the "simple GUI you have" - what do you mean ?! Go ahead then work with C++, or try to explain your point of view in a clearer way
Trying to do shit in power automate makes me want to eat glass. It kept deleting my flows or crashing and not saving flows. SIMPLE SHIT WHY ARE YOU SO BAD MICROSOFT
I wish i had watched this video before. My tendinitis and the 800 documents i have (now had :D) to check manually until Monday for work thank you a hell of a lot, sir. Awesome content.
Much appreciated my friend
dude’s voice is great
Thanks so much 🙂
it's 2:30 am and the video made me even sleepier
That's not a very nice thing to say
@@BekBrace why?
I'm not English so can you explain please?
I wanted to say that I was tired because it was 2 am but I wanted to watch the video(which I enjoyed) and you voice is calm and charming and it made me even sleepier
Oh, I misunderstood. Usually when you say this, that means that the person talking is boring 😜 But thank you very much for the sweet compliment ❤️🙏
Im kind of new to python and running code on Windows at my home PC, how do I instill the pyautogui in VSCode?
Ok, let's do in parts
To clarify, VSCode itself doesn't install anything it's just an editor for managing and editing files (like notepad does).
To install python librarys you can use the command line (terminal), in windows is cmd or powershell. To open the comand line in VSCode you go to the top left in the Three dots ("...") chose terminal. There is gonna open your terminal in VSCode, you type "pip install pyautogui" and pip install to you the library pyautogui and any additional dependencies it requires.
You can do this with any new Library you want to use just changing the name for the package, but "pip install (package)" is the same
@@gumonn9883 I figured it out, but thanks so much for the detailed description
Thank you, been looking for this for a while. You are a real life saver.
I’m glad my friend 🙂
Bro..y ou got a calming voice and a really easy to understand method of teaching, REP+ and hope you find success and it was a really fun experiance learning this from your video.
Thank you very much my friend 🙏😊
Thank you so much man, I modified my typing thing a bit so I had a delay before it did it and so it did it like 10 times so now I can spam my friends on discord. Thank you so much!!!!!
Hehehe 🤭 Great job my friend
I had a dream about pyautogui !
waaaat ????
Thank you so much !! The video was great 👍. I have a question that will the pyautogui.hotkeys() command work if I want to press the windows key and up arrow key together to maximize my window ?
Please clear my doubt.
Thank you friend 🙂
No, i doubt it as it will be regarded as key interruption
Thank you so much 😁😁
@@BekBrace so we can't use window commands?
I did the drawing thing and it's very cool 😀
Wow! Great video.
Thanks man , very useful tutorial and a good intro to automation
Cheers
best vid on the topic thx so much
Thank you very much Maor
Best tutorial ever!
Thanks a Bunch 👍
Thank you for make this video, it will help me a lot of with my tasks!!
I’m very happy you found it useful 👍
You all prolly dont care but does any of you know a trick to get back into an Instagram account?
I stupidly forgot my password. I would love any tips you can offer me
thanks, I use this lib to avoid my company tracking myself during work day =)
For now have tool that writes me simple code))
That's awesome !
Thanks
Never been so excited to try code before :D
You're welcome, brother / sister
You're voice is so satisfying
Thanks a lot bro.. your video was very helpful to complete my project work..
I’m glad brother 🙏 All the best to you
Really very helpful sir
Thank you 😊
i have made this program for 100 iterations that takes 15 minutes in using many applications, so how can i run this automation program in the background? that i wanna save my 15 minutes or do another program or task?
That's an excellent question, and I've been looking myself for an automation solution that can run in the background , as long as I know there is no way we can do that, but I'll keep searching for an answer to that question
rlly good vid, helped me in 20 seconds
Woah!!
'Tis amazin' sir!!
Thanks a lot for helpin'!!
Love from India!!
Thank you LIT Python 🙏
Best tutorial
Hello Bek!
Your video was really useful, I can't thank enough.
May I ask, is there a way to make python work in the "background"?
What I mean is, how can I do anything else, while the code is running in a specific windows only?
Can you advise a tutorial for that? I'd be thankful.
Hello my friend, and thank you very much for your comment.
Actually, this is very good question, and I have been looking for a solution for this issue;
I do some automation macros in VBA for excel, and I have the same issue: I cannot do anything till the macro finishes
When I get an answer I will let you know for sure
yes you can do that by renaming the file to .pyw
@@ihatenggas how bro can you explain or there is a specific vid for that?
This would be so useful
I can use my voice controll the computer
Thanks im learning python code
Great ! Keep learning my friend
can i see your project?
Amazing Video
thank you for such informative content
love from india
Best regards from Poland
Hello Bec. Thank you! . I have a question: I try to use complex characters like " \" in a windows path, but pyautogui.typewrite does not work typing this kind of characters. Help me please. Thank you again!
Hi There! what are you trying to achieve ?
Hi. I'm working in a boot that open a specific route in CMDER . Sample: pyautogui. Typewrite ("C\archives \programming
epository
") but the result is : C archives programming repository. Thank you!
thanks bro ! i made a script that automatically search things you want in edge , thanks so much
You're very welcome 🤗
Thank you Bek, it is a very useful video. Clear sound and speed for the training :-bd
Thank you very much 😊
Man this is a pure life saver ! thank you very much , have a nice day :)
I am glad, friend :) Have a good day ahead too
@@BekBrace man i literally used this pyautogui to cut all my lengthy editing steps in premier pro , so now i can press one button and it'll directly apply one effect to the clip , no need of drag and type over and over again now , PURE LIFESAVER :)
trying to learn more for further improvement .
Great video ❤️. Can we capture the mouse/keyboard event?
thanks. this helped me a lot!
you are very welcome
Thanks a lot man. really helped me :)
Gladly ☺️
Hey Bek,
that was great and informative content, thank you so much for the Video. Do you know, if it is allowed in the terms and services to use pyautogui in the workspace?
Thank You so much :)
Didn't see anything in the documentations that says otherwise pyautogui.readthedocs.io/en/latest/
its not giving me the height and width of my screen and im not sure if it imported pyautogui, but i dit watch that part multiple times to check
ótimo tutorial, muito obrigado. +1 inscrito
Thank you so much :)
very useful , thanks
You're very welcome
perfect vieo
Thank you very much 🙏
Helpful video actually
Cool
Thanks for the video. I have tried to use this module. But when scheduling three consecutive clicks outside of Visual Studio Code, the script only do one click. Why will it be?
Hello Jose ! Thank you for your comment.
I am not sure that I fully understand, what do you mean by " outside of Visual Studio Code " ?
@@BekBrace Thanks for answering. I want my script to click on a window of an accounting program, then navigate its menus. I wrote the coordinates of each menu. But when I run the script, it only gives 1 click and not the others that I programmed. Does it have something to do with pillow?
@@joseantonioperedarios2811 ohhh I see what you mean. pillow is an images library so I don’t know how it could help in this particular situation, but honestly I never encountered this issue; I’ll try to find a solution and get back to you, meanwhile, you can search the web for an answer
@@BekBrace Thanks a lot. I will continue my search.
Please do an update where the python program is on one monitor and the window to automate is on the second monitor.
I'll do my best 😊
I have a simple bot for a website that I use, but it stopped working(site update). It’s a typescript and follows a selenium-based script that uses a very simple algorithm. Do you think you can help me identify the problem? Thank you for you help!!!
Send e your code on bekbrace@outlook.com, I will check it out this weekend
Great tutorial !
Thank you! Cheers!
Neat ! Thanks a lot for this video , very helpful
Pica _Noris Thank you for watching 😊
How i can make that the mouse moves and click but only if press a key?
Hi Bro. Thank you a lot.
You are welcome
the question is how can i know for example google chrome on desktop axis coordinates what are ???
thank you very much for this video! i just want to doublecheck: once you've created your mouse input function, you could then just inplement this in a while loop, right? to just keep it going for however long? let's say i have 500 papers to click through, i can just let it run? sorry if you covered this in the video. thank you again!
Yes exactly 😊 You can do precisely that
@@BekBrace Wow, thank you so much for the quick reply! Cheers!
Thanks a lot for this!
You're very welcome!
I know this tutorial is very old but I still have a Question:
Is it also possible to hold right click with pyautogui?
no problem :)
as far as I know pyautogui does not have a built-in function for holding down the right-click. However, you can achieve this behavior by combining pyautogui.mouseDown() and pyautogui.mouseUp() functions with the appropriate mouse button parameter.
Is there anyway to make it type the same text but +1 for example cp1, cp2,cp3 ect?
This is so helpful, thank you!!
What extension packs do you use?
For Python:
Visual Studio Intellicode
Python
Prettier
MagicPython
@@BekBrace thank you!
Thanks man . one question what Function to type a variable
Come again ?
I want to move mouse with a xbox controller so this should be helpful thanks
Thanks a lot
Glad you liked it
I need help, I do not want the user to be able to click of type while it is going, please help
hi is there anyway we could record down our moves and replay it?
You mean like a macro recorder ?
@@BekBrace yep
Bro can you please tell me what is your color scheme called it looks so cool.🙏🙏
You mean Vscode theme ?
@@BekBrace yes please
The voice though !!
Thanks Ali
how about dual monitor?
can pls share mouse move and click , using win32
sure
Hi, how to know where is our mouse coordinates?
Using : pyautogui.position()
import pyautogui
ModuleNotFoundError: No module named 'pyautogui'
Where is that module?
You've got to install first :
pip install pyautogui
Then you can import it.
How we can install pyautogui module ??
Have you watched the video ?
@@BekBrace i've fixed the probleme thank you
In my python there is not module named pyautogui
You must install it as shown in the tutorial 🙂
is there a way to loop this?
canÄt import pyautogui it gets error
What's the error ?
@@BekBrace Traceback (most recent call last):
File "", line 1, in
import pyautogui
ModuleNotFoundError: No module named 'pyautogui'
how can you run this program?
I don't see the code by which you moved to Paint. How did you get there?
Line 18 through 22
@@BekBrace good. Thanks
can anyone help me how to break a while loop by pressing esc key?
can we do all this using c language
Unlikely, but maybe I'm not sure
How to typewrite with a delay?????????
What's that now ?
what app is that
What do you mean
Bracket
In none of your videos do you explain to a noob how to get that interface you have. I installed python and run it and it just looks like normal windows command prompt & keeps saying "pip' did you mean 'zip' when I try to install autogui?
Plus nowhere can i find the simple looking GUI you have in this vid....how do I get that ?
Seriously, there should be a non convoluted way to install this....its easier to just use c++ at this point.....
In this vid ? you mean "in this video" !
I have no idea what you're talking about when you say "the interface you have".
what's the issue with pip ? pip is a package manager through which you can install modules/packages/dependencies that you may use in your app.
Again with the "simple GUI you have" - what do you mean ?!
Go ahead then work with C++, or try to explain your point of view in a clearer way
I want to move mouse with a xbox controller so, so I don't have to get Elon Musk's Neurolink chip drilled into my skull, this should be helpful thanks
Thank you jesus not an indian accent 😭 tears of joy
Hehe, that would be offensive to our indian friends but thanks for your comment ,😊
Win 32 is alot faster then puautogui
Ok
@@BekBrace either way it works...
I use this to make hack client
Trying to do shit in power automate makes me want to eat glass. It kept deleting my flows or crashing and not saving flows. SIMPLE SHIT WHY ARE YOU SO BAD MICROSOFT
What about Linux ?