-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Add WindowEvent.xml/json
#75
Comments
ElementInfo: https://github.com/pywinauto/pywinauto/blob/bf7f789d01b7c66ccd0c213db0a029da7e588c9e/pywinauto/element_info.py window_text: https://github.com/pywinauto/pywinauto/blob/bf7f789d01b7c66ccd0c213db0a029da7e588c9e/pywinauto/base_wrapper.py#L306 get_properties
Read new data via https://github.com/pywinauto/pywinauto
https://github.com/MLDSAI/puterbot/blob/main/puterbot/record.py#L67 e.g.:
e.g. after window_event_writer in
|
Addressed in #151 |
This task involves adding an
xml
and/orjson
attribute toWindowEvent
, and storing a text representation of the user's current active window.This is to intended to augment
ScreenShot
s wherexml
/json
representations are available, e.g. for non-virtualized desktop applications, and web applications (see #51)For implementing on Windows, start here:
https://github.com/pywinauto/pywinauto/blob/bf7f789d01b7c66ccd0c213db0a029da7e588c9e/pywinauto/base_application.py#L661
https://github.com/pywinauto/pywinauto/blob/bf7f789d01b7c66ccd0c213db0a029da7e588c9e/pywinauto/base_application.py#L264
From ChatGPT:
From phind.com:
The text was updated successfully, but these errors were encountered: