Skip to content
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

Automating windows applications using element id #1367

Open
Roboflex30 opened this issue Jan 8, 2024 · 0 comments
Open

Automating windows applications using element id #1367

Roboflex30 opened this issue Jan 8, 2024 · 0 comments

Comments

@Roboflex30
Copy link

I am trying to automate windows applications using their elements and element id. I want to get the element info on every click or any other mouse activity, so that I can use it for automation instead of the traditional tedious task of writing static codes for every application.
I am getting the control_identifiers for notepad from this code:
app = application.Application(backend="uia").start(event_dict["app_path"]).connect(title= event_dict["window_title"],timeout=100)
app.UntitledNotepad.print_control_identifiers()
But this code produce control_identifiers for the static screen and I can't use it for my purpose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant