Comment down below what else you want me to do with python !!!
Жүктеу.....
Пікірлер: 187
@AaronFritz3 жыл бұрын
Hey guys comment down below what to create next using python any crazy idea would do
@cryptoworkdriven5715
3 жыл бұрын
Lovely video bro Can you show how to automate an android app to send coins to other apps?
@AaronFritz
3 жыл бұрын
@@cryptoworkdriven5715 i havent actually found much on automating android but when i do i will surely make a video out of it
@mani_kaxrod8232
3 жыл бұрын
Can you teach us telethon Telegram automation
@tommyispog8026
2 жыл бұрын
Coding your own IDE would be a fun idea
@mani_kaxrod8232
2 жыл бұрын
IDE means
@schoolofbillt26563 жыл бұрын
This is the best PyWinAuto Video on KZread. I really appreciate you explaining the reasons behind your code and how PyWinAuto works, as opposed to just explaining what each line does
@AaronFritz
3 жыл бұрын
You're very welcome! Glad it helped
@Lahmeinthehouse3 жыл бұрын
Amazing video, you have no idea how helpful this was!! You only forgot to mention that there are only specific versions of python that's able to import pywinauto, so it took some time to get started as I had to figure it out myself. But otherwise, GREAT video! I'm grateful for your work❤
@NickWindham2 жыл бұрын
Great video. You got a lot more than 20 likes too. Well deserved. You gained a subscriber in me. The more PyWinAuto content you produce the better. Automating Windows is the main reason many people are learning Python. :-)
@murathp075 ай бұрын
Right to the point random guy...this video is truly a MASTERPIECE...glad I found you on the youtube... Thank you.
@jensshumway36522 жыл бұрын
really great tutorial, loved all the different examples you used to demonstrate stuff.
@user-ho9qj2xu7f2 жыл бұрын
I was fortunate to be able to interpret the video, but I did not know English well, and there were no lectures like this, so I couldn't learn it. Thank you for teaching me this.
@annonzzee96833 жыл бұрын
This worked dude. Awesome work. keep doing this dude.
@lgent24352 жыл бұрын
Thank you for the tutorial!! Really helpful.
@user-ip6bq2lc3x3 жыл бұрын
Thank you so much for your video. Very good help for a beginner. Good luck to you .
@user-qg1my3ut7e9 ай бұрын
Thank you! Very clear explanation. Wish you have more videos.
@shivagupta25723 жыл бұрын
Thank you Aaron for this video. Can you post a video on automating report extraction from SAP. That'll help me a lot in my job!!!
@Mr_Uni7 ай бұрын
Great video! Thank you!
@phoenixflower12252 жыл бұрын
Subscribed and liked - thank you for your insights
@johannesperez95482 жыл бұрын
Great Video, thanks for this!!!
@TheInfiniteinfinity2 жыл бұрын
This is great! Thank you!
@truthfully4702 жыл бұрын
Very helpful, Thank you!
@manuchehrmirzoev81003 жыл бұрын
Hey Man, it was really helpful. Thank you so much!!!
@AaronFritz
3 жыл бұрын
Glad it helped!
@NoName-ik7du Жыл бұрын
Thank you for awesome tutorial. It was very helpful.
@govindarajuluvaraprasad1383 жыл бұрын
Very helpful . Thanks you very much
@ammadkhan4687 Жыл бұрын
It is very valuable video. Thanks for sharing
@md.sorowerhossan2452 жыл бұрын
Great video!!
@mtomazza2 жыл бұрын
great tutorial, thanks!
@hamed_moradi02 жыл бұрын
Man upload some more useful content like this. this is awesome. thanks a lot for your efforts.
@electronicsmystery Жыл бұрын
Its very helpful video.
@pedramporbaha2 жыл бұрын
It was Great 👍👍👍 Maybe it would be better if your font was bigger😉 Also, you can make cells in Spyder by typing #%% And then run just desired cell by cntrl+Enter instead of F5
@pekkariihonen8944 Жыл бұрын
For me ".print_control_identifiers()" and anything with ".child_window()" takes several seconds, but in your video takes less than a second each time. Has it always been that fast for you, or did you have to do some sort of extra tweaking?
@AbuAhmedAlsudani3 жыл бұрын
It amazing video, Thanks a lot. I have a question: Is that model can scraping and getting data with it from the windows app?
@LukasRucky2 ай бұрын
thanks for this video bro. Thumbs up
@talatozmusluman3 жыл бұрын
Hi, Is it possible to automate any program like Microsoft Visio or paint to draw same shapes, and save it on the background, I mean you don't see anything on the screen but script works?
@willianrom Жыл бұрын
Thank you very much, my notepad is in Brazilian Portuguese, so I had some errors, but in the end I got it.
@pikazap66722 жыл бұрын
I subscribed you!
@rimantasdanilevicius67549 ай бұрын
It is quite easy to follow you. You are a good teacher. Maybe in the future you will make tutorial how to automate windows calculator and automate it by using its elements, how to hover over object, validate if element exist etc. I did research and it seems windows application like windows calculator you can not automate with python. (no image recognition)
@joelenss2 жыл бұрын
Hey man! Nice Tutorial but I got a short question. I've been trying to do it with my Local App to be able to implement this to my personal vioce assistant to create new WordPress Sites via Voice Control. Everythings working fine, till the point where py should give me control identifiers. Have u got any Idea?
@rodrigoherencia4507 Жыл бұрын
Hello, amazing video!!, I have a question. If the name of the app opened changes depending on the name it was given. For example, if you open word, it has a default name, but if you save it, you changed the name,now what happens when you want to connect and run Phyton there?. I don’t think you have to go change the name on the code every time. I assume there is a way that we write the code and connects to whatever the new word window name is. How would that be in that case?. I appreciate the help in advance.
@viktornagy802 жыл бұрын
Hi do you know why I can't see the output of control identifiers in PyCharm? Using the same script does not show.
@moazelsawaf20002 жыл бұрын
Thanks a lot ❤
@gregoriocornaglia174911 ай бұрын
thank youuuuuuuuuuu
@Helius12 жыл бұрын
im stuck base_wrapper.py", line 44, in import win32ui ImportError: DLL load failed while importing win32ui: A dynamic link library (DLL) initialization routine failed. what should i do
@NETkuz Жыл бұрын
best
@vahinipalanivelu5044 Жыл бұрын
hi, i'm trying to install CDA Exe through python code - pyautogui command ---- what cmd need to be used to select the drop down??? any idea
@lokeshsharma6341 Жыл бұрын
getting an error : ModuleNotFoundError: No module named 'pywinauto' even though i installed it. Any idea how to resolve this?
@fajkoson4 ай бұрын
how do you test application which is not default in the system, f.e i put application in the system which does not require installation but need to start it with absolute path.. for such applicatioins i have an issue to connect to it and dont know what is my next steps..
@PHaRTnONu Жыл бұрын
Great explanations. One question, what if "child windows" doesn't exist? (im in this boat at the moment) Where i have the stuff in brackets and "child windows" doesn't return UNTIL after i enter text in it. So i have ['TitleEdit', 'Edit8'] but no child windows under. how do i target these entry's?
@jasimali39812 жыл бұрын
great tutorial , i want to execute these notepad automation tasks into another pc on the network , plz make a tutorial on this
@Helius12 жыл бұрын
im stuck base_wrapper.py", line 44, in import win32ui ImportError: DLL load failed while importing win32ui: A dynamic link library (DLL) initialization routine failed. then the app doesn't open
@garrykraemer89933 жыл бұрын
Aaron, 'awesome video'! I'd like to see some 'shortcut keys' processing (2 and 3 keys) in any application.
@AaronFritz
3 жыл бұрын
Thank you, do you mean like ctrl+c or ctrl+v
@garrykraemer8993
3 жыл бұрын
@@AaronFritz Yes, and three keys like: Shift, Control, F, or Control, Alt, Left Mouse Click. Thanks! 72 and still learning!
@AaronFritz
3 жыл бұрын
@@garrykraemer8993 You can do that using a function in 'from pywinauto.keyboard import send_keys' this is the manual pywinauto.readthedocs.io/en/latest/code/pywinauto.keyboard.html but if you didnt understand feel free to ask, and great job!! keep learning
@mybiggestdreamsfulfilled1028 Жыл бұрын
How do can i use it to automate mouse auto clicks for a specific windows 10 application?
@mohammedabumaqdam93662 жыл бұрын
Nice one, Which IDLE you use?
@manjunath18472 жыл бұрын
Will PyWinAuto work on .NET5 windows applications?
@apoorvan46087 ай бұрын
hi! my application actually does not have a title bar so i cant connect to it directly, how to get around this? its urgent
@hassamrajpoot50252 жыл бұрын
Hi, hope you're doing great. Can I automate a print dialogue box using this module?
@ajeetk572 жыл бұрын
I want to open a particular excel file(should be able to pass file path) and automate few button click(buttons on excel application) in excel in sequential manner.
@juligomez2493 Жыл бұрын
Could u do more videos with more content about pywinauto
@komalpatil586 Жыл бұрын
Hi, it's great video at beginner level, so could you please make video on advance level with automation framework using pywinauto...
@sarys51695 ай бұрын
The docs are not great, you've done a great job
@gmehta19963 жыл бұрын
Hi. Great video. I had a question. Sometimes is takes too much time for a child_window to load or be visible and the code gives an error and timeout is not working for child_windows. Is there a way to add wait or time in child_windows until they are recognized ?
@AaronFritz
3 жыл бұрын
you can try increasing the time given in the timeout function
@sin62464 Жыл бұрын
Hi bro thanks for tutorial, can we get handler with winspy Or ui spy?
@nomitkumarmahapatro5290 Жыл бұрын
Even after .connect, the window is not coming to front. Hence script throwing error. But if i manually bring it to front, then working fine. Can you please provide a solution for this
@carlosandresgomezdaza9255 Жыл бұрын
aaa perro, esta muy bacano
@satishyadav-nh4of2 жыл бұрын
Hi , Can you post whole video how to automate desktop application using Python
@bhupenderkumar12162 жыл бұрын
hey, how to handle duplication in child windows. showing error "found 2 entries"
@24-Card Жыл бұрын
All I can say is OMFG!!!
@yanyuhu30923 жыл бұрын
How do you find buttons in a more automatically way? Currently the method you used is print control identifier, then manually see the location of the 'File' button, then manually copy-paste the location of the 'File' button into the code, and print control identifier again to manually look for the location of the 'New Window', then copy paste in... This is a good and safe way, but it seems lesser automatically. Thanks.
@yanyuhu3092
3 жыл бұрын
Im new to pywinauto, just wondering are there any ways/tools that can location ANY buttons you want. So that later on no matter how to application has been changed, the program will always automatically search a keyword(like 'New Window') and extract the location into a variable, and use it for future reference.
@AaronFritz
3 жыл бұрын
I understand your concern but there is no method like that up to date, If anything like that comes out I will definitely post a video on that
@ToriGrosso2 жыл бұрын
Hi! Thanks a Lot! It will really help me at work. Can i schedule this script at windows startup or make it executable?
@pedramporbaha
2 жыл бұрын
Yeah. You can use Task scheduler in windows and add new task and set trigger to when log on windows
@bharatrajshetty55823 жыл бұрын
Thanks Aaron for the simple explanation The app.UntitledNotepad.print_control_identifiers() gives windows which shows up under the Dialog - '*Untitled - Notepad' But in case of my desktop app, if i do a right click on the desktop app then a context menu shows up which is not present in the output when i use the .print_control_identifiers() instead it is seen under "pane" ""(Desktop Window) as "menu" "Menu" How do i select the submenu in such a context menu
@RitroMusic
2 жыл бұрын
in from pywinauto.application import Application ModuleNotFoundError: No module named 'pywinauto'
@kevinl.9657
10 ай бұрын
Get a handle of the Context object just like you would for window/dialog. Here's a sample code: app = Application(backend="uia").start("notepad", wait_for_idle=False) main_window = Desktop(backend="uia").window(title_re=".*Notepad.*") context = Desktop(backend="uia").window(title_re=".*Context.*") After I right click, here's how I click the menu item. context.child_window(auto_id="1280", control_type="MenuItem").click_input()
@huynhtrungthanhtran6118 Жыл бұрын
I would like to start another app name COBRA and I type: "app = Application(backend = "uia").start(r"D:\COBRA\COBRA.exe")" the code run but the app do not start. How could I open any apps besides notepad?
@notd43359 ай бұрын
Hey guys! How to fix the error with importing all this? The first line just gets grey and nothing works
@g0ldenedits2 жыл бұрын
Make An AI Named Kitsune! I maked this AI in python and batch, Very Fun to make!
@ammadkhan4687 Жыл бұрын
I want to automate SAP. I watched your video and now converting my power automate code to python
@vignesh_waran2 жыл бұрын
Is it possible to automate telegram using this ?
@RitroMusic2 жыл бұрын
in from pywinauto.application import Application ModuleNotFoundError: No module named 'pywinauto' Can anyone help?
@Lahmeinthehouse3 жыл бұрын
Great work, really! But after some testing, I noticed that the print_control_identifiers() method do not print out checkboxes. Can you think of any way of locating these in the software and click on it?
@AaronFritz
3 жыл бұрын
it actually does print out check boxes but the problem is that we cannot set the check box to true or false (checked or unchecked) instead we can only toggle it (click it) so if it is unchecked u can make it checked if it is checked u can make it unchecked
@Lahmeinthehouse
3 жыл бұрын
@@AaronFritz that's weird. I've been looking for it, but I can't seem to find it. Would you mind if I send you a screenshot of what I'm trying to locate and the printed control identifiers on email or something? It would mean a lot
@AaronFritz
3 жыл бұрын
@@Lahmeinthehouse do you have discord
@ankamanirudh88372 жыл бұрын
Hi hello sir, how can I run notepad in background I mean I don't want it to appear because it will effect my work
@maruthamuthup3 жыл бұрын
Hi Aaron, Its an amazing intro windows application automation. My question is there are some applications which when we do a right click on the title bar we get a different , so after manually do this action and calling print_identifiers could give handlers but how to enact that right click on title bar, so that we get to see the menu and then comes the action on menu that pops up. I hope you got my question.
@AaronFritz
3 жыл бұрын
Ok so i tested your concept and this is what i found the titlebar mechanism is different in different kinds of applications but most of them have a icon at the top left corner u can click on and get the same drop down list. the handle (child window) for this icon will be under the heading titlebar. hope it helps and if u dont have an icon i will try to find a different way
@maruthamuthup
3 жыл бұрын
@@AaronFritz Thanks for the information, in the meantime, I hit across this useful opensource tool called pywinautorecorder executable which when launched, it tracks our GUI interactions, and displays GUI Object Handlers in realtime. And it also has a cool feature which makes us do a "start recording", do some activity and then do a "stop recording", the result is a file having a python script holding the appropriate code that should be used (as wrapper objects) and eventually do the automation without need to worry. Check it out (pywinauto-recorder.readthedocs.io/en/latest/)
@AaronFritz
3 жыл бұрын
@@maruthamuthup I actually had tried the recording option but for some reason it didnt work for me. when i recorded it kept clicking something elseand not the buttons i wanted and it crashes very often. the script is also not so edittable as i had not much clue whats in there. It is a marvellous concept but its needs some fixing. But it has a good element scanner maybe i'll put a video on it
@HonkChamp Жыл бұрын
Idea: Python bot that automatically takes every person in discord server and compiles them into a text, and then pings everybody
@basavarajan82043 жыл бұрын
How to send excel deferent cell values to another software different textbox please suggest me
@AaronFritz
3 жыл бұрын
well for that you need to use openpyxl a package to automate excel i will be creating a video on it soon
@swarnendupanja46893 жыл бұрын
please show how to automate wireshark after choosing a pcap file. Thanks in Advance!
@saravanannranganathan75953 жыл бұрын
Is it possible to automate JMP software using python?
@AaronFritz
3 жыл бұрын
anything can be automated
@alfredantony16163 жыл бұрын
Da, do you remember me? Enneyoke maranno?
@asmafarhat32783 жыл бұрын
Can you please !! show us how to generate a script that contains the recorded actions (Click, Double click, Right-click, Keyboardpress, etc…) using python
@AaronFritz
3 жыл бұрын
I think i know what u mean and i will be releasing a video about it soon
@Celia1793Ramos Жыл бұрын
Really good video!! Thank you so much! I am just having an error with importing win32ui: "DLL load failed while importing win32ui: A dynamic link library (DLL) initialization routine failed" Does someone have an idea about how to solve this?
@felipeandre29233 жыл бұрын
Please, teach how to automate the Telegram Desktop. Thanks!
@AaronFritz
3 жыл бұрын
I think it would be easier to automate telegram with telegram's api for python python-telegram-bot.org/ i might create a video on this
@markverhulst88863 жыл бұрын
Why don’t I get all the tree view elements for notepad like you do when you do a print-controls?
@AaronFritz
3 жыл бұрын
it is print_control_identifiers() ,if that doesn't work contact me again
@markverhulst8886
3 жыл бұрын
@@AaronFritz yes I use print_control_identifiers() and all I get things like edit - and status bar - I don’t get all the rest of the stuff you get like file menu
@AaronFritz
3 жыл бұрын
maybe It is there you just don't see it because it is crammed and not aligned so just copy the whole output to a notepad and search for it using ctrl+f if still does not work post your output onto notepad or some source i'll check
@markverhulst8886
3 жыл бұрын
@@AaronFritz Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. >>> == RESTART: C:\Users\mverhulst\AppData\Local\Programs\Python\Python39\test.py == Control Identifiers: Notepad - 'Untitled - Notepad' (L339, T211, R1373, B735) ['Untitled - Notepad', 'Notepad', 'Untitled - NotepadNotepad'] child_window(title="Untitled - Notepad", class_name="Notepad") | | Edit - '' (L347, T262, R1365, B704) | ['Untitled - NotepadEdit', 'Edit'] | child_window(class_name="Edit") | | StatusBar - '' (L347, T704, R1365, B727) | ['StatusBar Ln 1, Col 1', 'Untitled - NotepadStatusBar', 'StatusBar 100%', 'StatusBar Windows (CRLF)', 'StatusBar', 'StatusBar UTF-8'] | child_window(class_name="msctls_statusbar32") >>>
@AaronFritz
3 жыл бұрын
ok a few points, 1, what ide are you using 2, if possible send your code too 3, try running the program in the ide itself
@salehnoordeen92692 жыл бұрын
Hi Need a help on a follow up on this video. How can I reach out to you. Thanks in advance
@AaronFritz
2 жыл бұрын
do you have discord
@presidentbrown3 жыл бұрын
what if I want to automate everything in the background, as in I don't want the whole process to be visible?
@AaronFritz
3 жыл бұрын
well i have thought about that but i dont think it works that way
@presidentbrown
3 жыл бұрын
@@AaronFritz I was trying the normal process out to just start an app but as soon as the specified app opens, it closes on its own in a second. Is there a reason for that? No matter which app I try it on.
@AaronFritz
3 жыл бұрын
@@presidentbrown do you see any error when that occurs on ur console
@presidentbrown
3 жыл бұрын
@@AaronFritz No error, it executes perfectly. But closes the app in a second.
@AaronFritz
3 жыл бұрын
never heard that happen before, try uninstalling and reinstalling pywinauto
@kishoracharya26533 жыл бұрын
Any full time Course ?
@AaronFritz
3 жыл бұрын
im sorry but no
@devopscloud3679 Жыл бұрын
Hi Random, i need your valuable support on the task, can you please help
@guillaumeeybert-bouillier56283 жыл бұрын
I'm french and need this but i don't understand how to instal it, could you help me ? I'm sorry, i perhaps didn't understand it when you explain at the beginning
@AaronFritz
3 жыл бұрын
voulez-vous savoir comment installer pywinauto?
@guillaumeeybert-bouillier5628
3 жыл бұрын
Oui s'il vous plaît
@AaronFritz
3 жыл бұрын
@@guillaumeeybert-bouillier5628Ouvrez votre command prompt et entrez 'pip install pywinauto' (if you have discord send id)
@guillaumeeybert-bouillier5628
3 жыл бұрын
I already done this, but my PC awnser me that pip is not know
@guillaumeeybert-bouillier5628
3 жыл бұрын
guiguidu81thug #6094
@niranjansajeevkumar48083 жыл бұрын
Dey neeya
@AaronFritz
3 жыл бұрын
Njan valliya sambhavam alle
@alfredantony1616
3 жыл бұрын
@@AaronFritz Athe athe...
@harshchess1989 Жыл бұрын
Name backend is not defined
@9MOD3 жыл бұрын
in 4:36 how you open this search box *_*
@lppio19972 жыл бұрын
can i get your discord to ask you a few questions
@Uzasish2 жыл бұрын
why does every tutorial want to automate notpad? :)
@SoManySwags3 жыл бұрын
This does not work in VSC
@61pokepi
3 жыл бұрын
VSC as in VSCode? If so, I'm not entirely sure how the IDE could make a difference. Did you install the packages?
@victorramateletse4343
3 жыл бұрын
Great content bro. How about automating that zoom application. Zoom is all over the show nowadays. It will help
@okelaquocan2485 Жыл бұрын
Hey bro . I need open App VPN is 'WhiteHatVPN' and open it by code python .Can you help me?Plese Thanhks
Пікірлер: 187
Hey guys comment down below what to create next using python any crazy idea would do
@cryptoworkdriven5715
3 жыл бұрын
Lovely video bro Can you show how to automate an android app to send coins to other apps?
@AaronFritz
3 жыл бұрын
@@cryptoworkdriven5715 i havent actually found much on automating android but when i do i will surely make a video out of it
@mani_kaxrod8232
3 жыл бұрын
Can you teach us telethon Telegram automation
@tommyispog8026
2 жыл бұрын
Coding your own IDE would be a fun idea
@mani_kaxrod8232
2 жыл бұрын
IDE means
This is the best PyWinAuto Video on KZread. I really appreciate you explaining the reasons behind your code and how PyWinAuto works, as opposed to just explaining what each line does
@AaronFritz
3 жыл бұрын
You're very welcome! Glad it helped
Amazing video, you have no idea how helpful this was!! You only forgot to mention that there are only specific versions of python that's able to import pywinauto, so it took some time to get started as I had to figure it out myself. But otherwise, GREAT video! I'm grateful for your work❤
Great video. You got a lot more than 20 likes too. Well deserved. You gained a subscriber in me. The more PyWinAuto content you produce the better. Automating Windows is the main reason many people are learning Python. :-)
Right to the point random guy...this video is truly a MASTERPIECE...glad I found you on the youtube... Thank you.
really great tutorial, loved all the different examples you used to demonstrate stuff.
I was fortunate to be able to interpret the video, but I did not know English well, and there were no lectures like this, so I couldn't learn it. Thank you for teaching me this.
This worked dude. Awesome work. keep doing this dude.
Thank you for the tutorial!! Really helpful.
Thank you so much for your video. Very good help for a beginner. Good luck to you .
Thank you! Very clear explanation. Wish you have more videos.
Thank you Aaron for this video. Can you post a video on automating report extraction from SAP. That'll help me a lot in my job!!!
Great video! Thank you!
Subscribed and liked - thank you for your insights
Great Video, thanks for this!!!
This is great! Thank you!
Very helpful, Thank you!
Hey Man, it was really helpful. Thank you so much!!!
@AaronFritz
3 жыл бұрын
Glad it helped!
Thank you for awesome tutorial. It was very helpful.
Very helpful . Thanks you very much
It is very valuable video. Thanks for sharing
Great video!!
great tutorial, thanks!
Man upload some more useful content like this. this is awesome. thanks a lot for your efforts.
Its very helpful video.
It was Great 👍👍👍 Maybe it would be better if your font was bigger😉 Also, you can make cells in Spyder by typing #%% And then run just desired cell by cntrl+Enter instead of F5
For me ".print_control_identifiers()" and anything with ".child_window()" takes several seconds, but in your video takes less than a second each time. Has it always been that fast for you, or did you have to do some sort of extra tweaking?
It amazing video, Thanks a lot. I have a question: Is that model can scraping and getting data with it from the windows app?
thanks for this video bro. Thumbs up
Hi, Is it possible to automate any program like Microsoft Visio or paint to draw same shapes, and save it on the background, I mean you don't see anything on the screen but script works?
Thank you very much, my notepad is in Brazilian Portuguese, so I had some errors, but in the end I got it.
I subscribed you!
It is quite easy to follow you. You are a good teacher. Maybe in the future you will make tutorial how to automate windows calculator and automate it by using its elements, how to hover over object, validate if element exist etc. I did research and it seems windows application like windows calculator you can not automate with python. (no image recognition)
Hey man! Nice Tutorial but I got a short question. I've been trying to do it with my Local App to be able to implement this to my personal vioce assistant to create new WordPress Sites via Voice Control. Everythings working fine, till the point where py should give me control identifiers. Have u got any Idea?
Hello, amazing video!!, I have a question. If the name of the app opened changes depending on the name it was given. For example, if you open word, it has a default name, but if you save it, you changed the name,now what happens when you want to connect and run Phyton there?. I don’t think you have to go change the name on the code every time. I assume there is a way that we write the code and connects to whatever the new word window name is. How would that be in that case?. I appreciate the help in advance.
Hi do you know why I can't see the output of control identifiers in PyCharm? Using the same script does not show.
Thanks a lot ❤
thank youuuuuuuuuuu
im stuck base_wrapper.py", line 44, in import win32ui ImportError: DLL load failed while importing win32ui: A dynamic link library (DLL) initialization routine failed. what should i do
best
hi, i'm trying to install CDA Exe through python code - pyautogui command ---- what cmd need to be used to select the drop down??? any idea
getting an error : ModuleNotFoundError: No module named 'pywinauto' even though i installed it. Any idea how to resolve this?
how do you test application which is not default in the system, f.e i put application in the system which does not require installation but need to start it with absolute path.. for such applicatioins i have an issue to connect to it and dont know what is my next steps..
Great explanations. One question, what if "child windows" doesn't exist? (im in this boat at the moment) Where i have the stuff in brackets and "child windows" doesn't return UNTIL after i enter text in it. So i have ['TitleEdit', 'Edit8'] but no child windows under. how do i target these entry's?
great tutorial , i want to execute these notepad automation tasks into another pc on the network , plz make a tutorial on this
im stuck base_wrapper.py", line 44, in import win32ui ImportError: DLL load failed while importing win32ui: A dynamic link library (DLL) initialization routine failed. then the app doesn't open
Aaron, 'awesome video'! I'd like to see some 'shortcut keys' processing (2 and 3 keys) in any application.
@AaronFritz
3 жыл бұрын
Thank you, do you mean like ctrl+c or ctrl+v
@garrykraemer8993
3 жыл бұрын
@@AaronFritz Yes, and three keys like: Shift, Control, F, or Control, Alt, Left Mouse Click. Thanks! 72 and still learning!
@AaronFritz
3 жыл бұрын
@@garrykraemer8993 You can do that using a function in 'from pywinauto.keyboard import send_keys' this is the manual pywinauto.readthedocs.io/en/latest/code/pywinauto.keyboard.html but if you didnt understand feel free to ask, and great job!! keep learning
How do can i use it to automate mouse auto clicks for a specific windows 10 application?
Nice one, Which IDLE you use?
Will PyWinAuto work on .NET5 windows applications?
hi! my application actually does not have a title bar so i cant connect to it directly, how to get around this? its urgent
Hi, hope you're doing great. Can I automate a print dialogue box using this module?
I want to open a particular excel file(should be able to pass file path) and automate few button click(buttons on excel application) in excel in sequential manner.
Could u do more videos with more content about pywinauto
Hi, it's great video at beginner level, so could you please make video on advance level with automation framework using pywinauto...
The docs are not great, you've done a great job
Hi. Great video. I had a question. Sometimes is takes too much time for a child_window to load or be visible and the code gives an error and timeout is not working for child_windows. Is there a way to add wait or time in child_windows until they are recognized ?
@AaronFritz
3 жыл бұрын
you can try increasing the time given in the timeout function
Hi bro thanks for tutorial, can we get handler with winspy Or ui spy?
Even after .connect, the window is not coming to front. Hence script throwing error. But if i manually bring it to front, then working fine. Can you please provide a solution for this
aaa perro, esta muy bacano
Hi , Can you post whole video how to automate desktop application using Python
hey, how to handle duplication in child windows. showing error "found 2 entries"
All I can say is OMFG!!!
How do you find buttons in a more automatically way? Currently the method you used is print control identifier, then manually see the location of the 'File' button, then manually copy-paste the location of the 'File' button into the code, and print control identifier again to manually look for the location of the 'New Window', then copy paste in... This is a good and safe way, but it seems lesser automatically. Thanks.
@yanyuhu3092
3 жыл бұрын
Im new to pywinauto, just wondering are there any ways/tools that can location ANY buttons you want. So that later on no matter how to application has been changed, the program will always automatically search a keyword(like 'New Window') and extract the location into a variable, and use it for future reference.
@AaronFritz
3 жыл бұрын
I understand your concern but there is no method like that up to date, If anything like that comes out I will definitely post a video on that
Hi! Thanks a Lot! It will really help me at work. Can i schedule this script at windows startup or make it executable?
@pedramporbaha
2 жыл бұрын
Yeah. You can use Task scheduler in windows and add new task and set trigger to when log on windows
Thanks Aaron for the simple explanation The app.UntitledNotepad.print_control_identifiers() gives windows which shows up under the Dialog - '*Untitled - Notepad' But in case of my desktop app, if i do a right click on the desktop app then a context menu shows up which is not present in the output when i use the .print_control_identifiers() instead it is seen under "pane" ""(Desktop Window) as "menu" "Menu" How do i select the submenu in such a context menu
@RitroMusic
2 жыл бұрын
in from pywinauto.application import Application ModuleNotFoundError: No module named 'pywinauto'
@kevinl.9657
10 ай бұрын
Get a handle of the Context object just like you would for window/dialog. Here's a sample code: app = Application(backend="uia").start("notepad", wait_for_idle=False) main_window = Desktop(backend="uia").window(title_re=".*Notepad.*") context = Desktop(backend="uia").window(title_re=".*Context.*") After I right click, here's how I click the menu item. context.child_window(auto_id="1280", control_type="MenuItem").click_input()
I would like to start another app name COBRA and I type: "app = Application(backend = "uia").start(r"D:\COBRA\COBRA.exe")" the code run but the app do not start. How could I open any apps besides notepad?
Hey guys! How to fix the error with importing all this? The first line just gets grey and nothing works
Make An AI Named Kitsune! I maked this AI in python and batch, Very Fun to make!
I want to automate SAP. I watched your video and now converting my power automate code to python
Is it possible to automate telegram using this ?
in from pywinauto.application import Application ModuleNotFoundError: No module named 'pywinauto' Can anyone help?
Great work, really! But after some testing, I noticed that the print_control_identifiers() method do not print out checkboxes. Can you think of any way of locating these in the software and click on it?
@AaronFritz
3 жыл бұрын
it actually does print out check boxes but the problem is that we cannot set the check box to true or false (checked or unchecked) instead we can only toggle it (click it) so if it is unchecked u can make it checked if it is checked u can make it unchecked
@Lahmeinthehouse
3 жыл бұрын
@@AaronFritz that's weird. I've been looking for it, but I can't seem to find it. Would you mind if I send you a screenshot of what I'm trying to locate and the printed control identifiers on email or something? It would mean a lot
@AaronFritz
3 жыл бұрын
@@Lahmeinthehouse do you have discord
Hi hello sir, how can I run notepad in background I mean I don't want it to appear because it will effect my work
Hi Aaron, Its an amazing intro windows application automation. My question is there are some applications which when we do a right click on the title bar we get a different , so after manually do this action and calling print_identifiers could give handlers but how to enact that right click on title bar, so that we get to see the menu and then comes the action on menu that pops up. I hope you got my question.
@AaronFritz
3 жыл бұрын
Ok so i tested your concept and this is what i found the titlebar mechanism is different in different kinds of applications but most of them have a icon at the top left corner u can click on and get the same drop down list. the handle (child window) for this icon will be under the heading titlebar. hope it helps and if u dont have an icon i will try to find a different way
@maruthamuthup
3 жыл бұрын
@@AaronFritz Thanks for the information, in the meantime, I hit across this useful opensource tool called pywinautorecorder executable which when launched, it tracks our GUI interactions, and displays GUI Object Handlers in realtime. And it also has a cool feature which makes us do a "start recording", do some activity and then do a "stop recording", the result is a file having a python script holding the appropriate code that should be used (as wrapper objects) and eventually do the automation without need to worry. Check it out (pywinauto-recorder.readthedocs.io/en/latest/)
@AaronFritz
3 жыл бұрын
@@maruthamuthup I actually had tried the recording option but for some reason it didnt work for me. when i recorded it kept clicking something elseand not the buttons i wanted and it crashes very often. the script is also not so edittable as i had not much clue whats in there. It is a marvellous concept but its needs some fixing. But it has a good element scanner maybe i'll put a video on it
Idea: Python bot that automatically takes every person in discord server and compiles them into a text, and then pings everybody
How to send excel deferent cell values to another software different textbox please suggest me
@AaronFritz
3 жыл бұрын
well for that you need to use openpyxl a package to automate excel i will be creating a video on it soon
please show how to automate wireshark after choosing a pcap file. Thanks in Advance!
Is it possible to automate JMP software using python?
@AaronFritz
3 жыл бұрын
anything can be automated
Da, do you remember me? Enneyoke maranno?
Can you please !! show us how to generate a script that contains the recorded actions (Click, Double click, Right-click, Keyboardpress, etc…) using python
@AaronFritz
3 жыл бұрын
I think i know what u mean and i will be releasing a video about it soon
Really good video!! Thank you so much! I am just having an error with importing win32ui: "DLL load failed while importing win32ui: A dynamic link library (DLL) initialization routine failed" Does someone have an idea about how to solve this?
Please, teach how to automate the Telegram Desktop. Thanks!
@AaronFritz
3 жыл бұрын
I think it would be easier to automate telegram with telegram's api for python python-telegram-bot.org/ i might create a video on this
Why don’t I get all the tree view elements for notepad like you do when you do a print-controls?
@AaronFritz
3 жыл бұрын
it is print_control_identifiers() ,if that doesn't work contact me again
@markverhulst8886
3 жыл бұрын
@@AaronFritz yes I use print_control_identifiers() and all I get things like edit - and status bar - I don’t get all the rest of the stuff you get like file menu
@AaronFritz
3 жыл бұрын
maybe It is there you just don't see it because it is crammed and not aligned so just copy the whole output to a notepad and search for it using ctrl+f if still does not work post your output onto notepad or some source i'll check
@markverhulst8886
3 жыл бұрын
@@AaronFritz Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. >>> == RESTART: C:\Users\mverhulst\AppData\Local\Programs\Python\Python39\test.py == Control Identifiers: Notepad - 'Untitled - Notepad' (L339, T211, R1373, B735) ['Untitled - Notepad', 'Notepad', 'Untitled - NotepadNotepad'] child_window(title="Untitled - Notepad", class_name="Notepad") | | Edit - '' (L347, T262, R1365, B704) | ['Untitled - NotepadEdit', 'Edit'] | child_window(class_name="Edit") | | StatusBar - '' (L347, T704, R1365, B727) | ['StatusBar Ln 1, Col 1', 'Untitled - NotepadStatusBar', 'StatusBar 100%', 'StatusBar Windows (CRLF)', 'StatusBar', 'StatusBar UTF-8'] | child_window(class_name="msctls_statusbar32") >>>
@AaronFritz
3 жыл бұрын
ok a few points, 1, what ide are you using 2, if possible send your code too 3, try running the program in the ide itself
Hi Need a help on a follow up on this video. How can I reach out to you. Thanks in advance
@AaronFritz
2 жыл бұрын
do you have discord
what if I want to automate everything in the background, as in I don't want the whole process to be visible?
@AaronFritz
3 жыл бұрын
well i have thought about that but i dont think it works that way
@presidentbrown
3 жыл бұрын
@@AaronFritz I was trying the normal process out to just start an app but as soon as the specified app opens, it closes on its own in a second. Is there a reason for that? No matter which app I try it on.
@AaronFritz
3 жыл бұрын
@@presidentbrown do you see any error when that occurs on ur console
@presidentbrown
3 жыл бұрын
@@AaronFritz No error, it executes perfectly. But closes the app in a second.
@AaronFritz
3 жыл бұрын
never heard that happen before, try uninstalling and reinstalling pywinauto
Any full time Course ?
@AaronFritz
3 жыл бұрын
im sorry but no
Hi Random, i need your valuable support on the task, can you please help
I'm french and need this but i don't understand how to instal it, could you help me ? I'm sorry, i perhaps didn't understand it when you explain at the beginning
@AaronFritz
3 жыл бұрын
voulez-vous savoir comment installer pywinauto?
@guillaumeeybert-bouillier5628
3 жыл бұрын
Oui s'il vous plaît
@AaronFritz
3 жыл бұрын
@@guillaumeeybert-bouillier5628Ouvrez votre command prompt et entrez 'pip install pywinauto' (if you have discord send id)
@guillaumeeybert-bouillier5628
3 жыл бұрын
I already done this, but my PC awnser me that pip is not know
@guillaumeeybert-bouillier5628
3 жыл бұрын
guiguidu81thug #6094
Dey neeya
@AaronFritz
3 жыл бұрын
Njan valliya sambhavam alle
@alfredantony1616
3 жыл бұрын
@@AaronFritz Athe athe...
Name backend is not defined
in 4:36 how you open this search box *_*
can i get your discord to ask you a few questions
why does every tutorial want to automate notpad? :)
This does not work in VSC
@61pokepi
3 жыл бұрын
VSC as in VSCode? If so, I'm not entirely sure how the IDE could make a difference. Did you install the packages?
@victorramateletse4343
3 жыл бұрын
Great content bro. How about automating that zoom application. Zoom is all over the show nowadays. It will help
Hey bro . I need open App VPN is 'WhiteHatVPN' and open it by code python .Can you help me?Plese Thanhks