New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Automatic script generator #701
base: master
Are you sure you want to change the base?
Conversation
…dev-script-generator
…ywinauto into dev-script-generator # Conflicts: # pywinauto/script_generator/control_tree.py # pywinauto/script_generator/uiarecorder.py
…dev-script-generator
62f3117
to
ff8ce13
Compare
ff8ce13
to
19867af
Compare
This pull request fixes 2 alerts when merging 19867af into 06b4945 - view on LGTM.com fixed alerts:
|
@vasily-v-ryabov I'm waiting on this.... how soon we can get this? |
@jjbright Currently nobody is working on this. My first priority is major release with Linux and macOS support + some re-factoring to make pywinauto API easier. This 0.7.0 release should happen till end of 2020 (exact deadline can't be set because this is a hobby project for all of us). Script recorder will get its chance in 2021 with current available resources. |
@vasily-v-ryabov Thank you for responding quickly. I too see the good news as make pywinauto easier. I can't wait though, perhaps I've to struggle and get the automation with version 0.6.8. Meanwhile, I made another request and tagged you as well... if you could show some line on that..., it would be a great help |
Implements feature #332.
Everything implemented in folder
pywinauto/recorder
.Recorder saves control hierarchy of application using class
ControlTree
. Using that class recorder can determine which element user has clicked on even if that element doesn't already exist.Recorder uses UI Automation event handlers to monitor events generated by control of the application.
Based on all that data and some predefined event patterns recorder generates pywinauto-friednly python script that should repeat user's action upon execution.
EDIT (by @vasily-v-ryabov):
Example of usage: