Closed batara666 closed 2 years ago
Thank you very much for sharing this first issue.
Hi @batara666,
Glad you found the solution.
You can try:
with Window(u"WhatsApp||Pane"):
with Region(u"*"):
left_click(u"Voice call||Button")
or simpler:
left_click(u"WhatsApp||Pane->*->Voice call||Button")
In version 0.6.0 of Pywinauto Recorder, the support of * is improved. Version 0.6.0 should be available very soon. There will also be a video tutorial to explain all the possibilities to identify an element with a path.
Do not hesitate to let me know your wishes of evolution.
yes sir, I use the * wildcard, thanks for the reply <3
edit:
wow thankyou for this part: left_click(u"WhatsApp||Pane->*->Voice call||Button")
current code that are generated by pywinauto_recorder:
It is possible to simplify the path below? (or even make it more stateless)
Edit:
Anyway, Thanks for the software, this really saves a lot of times