Let's learn how to use #pywinauto to automate #gui apps with #python.
Жүктеу.....
Пікірлер: 18
@user-ym9kv4dt6p Жыл бұрын
Hi! Can u help me with this issue cuz I don't know what to do yet. I tried increase waiting time up to 10 sec but it wasn't help me. Traceback (most recent call last): File "C:\Users\user\pwa\test.py", line 7, in dialog.wait('visible') File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\pywinauto\application.py", line 529, in wait wait_until(timeout, retry_interval, File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\pywinauto\timings.py", line 375, in wait_until raise err pywinauto.timings.TimeoutError: timed out
@r3ap3rpy
Жыл бұрын
Seems like it cannot find the dialog you are refering in the script.
@user-ym9kv4dt6p
Жыл бұрын
@@r3ap3rpy should I install something besides pywinauto?
@r3ap3rpy
Жыл бұрын
Nope
@PseudoProphet
Ай бұрын
Looks like an error with your code....check your code, or paste it here for us to see. 😅
@user-ym9kv4dt6p
Ай бұрын
@@PseudoProphet thx, but I already was switched to devops🤣
@SaulEduardoo2 Жыл бұрын
Hello... I have issues with the line "app.UntitledNotepad.menu_select('Edit->Time/Date')" it says the next pywinauto.findbestmatch.MatchError: Could not find 'UntitledNotepad' in 'dict_keys([])'
@r3ap3rpy
Жыл бұрын
You propably have saved the content of the notepad already, try with the filename
@SaulEduardoo2
Жыл бұрын
@@r3ap3rpy I figured out that the issue was with the OS. I was trying it with Win 11, but after tried the same code at Win 10, the issue was solved. I think it's related to the new changes that were made at the notepad version on Win 11, they added tabs to the app and to the file explorer as well.
@justrobin2176 Жыл бұрын
Hi, thanks for your tutorial. I have following problem with print_control_identifiers. It doesnt print out all identifiers but only prints two lines: I was trying to google it but cound not find anybody with same problem. Could you point me into right direction please ? Thanks.
@r3ap3rpy
Жыл бұрын
Yoz could wrap it around str() or list() to see the content.
@justrobin2176
Жыл бұрын
Im always running into walls like this.. and I dont know what to do about it. Mostly it is something that I need ask somebody to get my answer. Could you give me some suggestions ? :)
@justrobin2176
Жыл бұрын
@@r3ap3rpy I've tried those and it didn't change anything.
@justrobin2176
Жыл бұрын
could you tell me how to find solution please ?
@juligomez2493 Жыл бұрын
Could u do a course?, And explain the library cause ur just doing a copy paste:)
Пікірлер: 18
Hi! Can u help me with this issue cuz I don't know what to do yet. I tried increase waiting time up to 10 sec but it wasn't help me. Traceback (most recent call last): File "C:\Users\user\pwa\test.py", line 7, in dialog.wait('visible') File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\pywinauto\application.py", line 529, in wait wait_until(timeout, retry_interval, File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\pywinauto\timings.py", line 375, in wait_until raise err pywinauto.timings.TimeoutError: timed out
@r3ap3rpy
Жыл бұрын
Seems like it cannot find the dialog you are refering in the script.
@user-ym9kv4dt6p
Жыл бұрын
@@r3ap3rpy should I install something besides pywinauto?
@r3ap3rpy
Жыл бұрын
Nope
@PseudoProphet
Ай бұрын
Looks like an error with your code....check your code, or paste it here for us to see. 😅
@user-ym9kv4dt6p
Ай бұрын
@@PseudoProphet thx, but I already was switched to devops🤣
Hello... I have issues with the line "app.UntitledNotepad.menu_select('Edit->Time/Date')" it says the next pywinauto.findbestmatch.MatchError: Could not find 'UntitledNotepad' in 'dict_keys([])'
@r3ap3rpy
Жыл бұрын
You propably have saved the content of the notepad already, try with the filename
@SaulEduardoo2
Жыл бұрын
@@r3ap3rpy I figured out that the issue was with the OS. I was trying it with Win 11, but after tried the same code at Win 10, the issue was solved. I think it's related to the new changes that were made at the notepad version on Win 11, they added tabs to the app and to the file explorer as well.
Hi, thanks for your tutorial. I have following problem with print_control_identifiers. It doesnt print out all identifiers but only prints two lines: I was trying to google it but cound not find anybody with same problem. Could you point me into right direction please ? Thanks.
@r3ap3rpy
Жыл бұрын
Yoz could wrap it around str() or list() to see the content.
@justrobin2176
Жыл бұрын
Im always running into walls like this.. and I dont know what to do about it. Mostly it is something that I need ask somebody to get my answer. Could you give me some suggestions ? :)
@justrobin2176
Жыл бұрын
@@r3ap3rpy I've tried those and it didn't change anything.
@justrobin2176
Жыл бұрын
could you tell me how to find solution please ?
Could u do a course?, And explain the library cause ur just doing a copy paste:)
@r3ap3rpy
Жыл бұрын
You can read further details in the otd.
@justrobin2176
Жыл бұрын
there are many courses about python.