Skip to content

Mac accessibility: allow slicing children #496

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

Closed
nriley opened this issue Mar 14, 2022 · 1 comment
Closed

Mac accessibility: allow slicing children #496

nriley opened this issue Mar 14, 2022 · 1 comment

Comments

@nriley
Copy link

nriley commented Mar 14, 2022

With some accessibility objects (e.g., tables) it takes time to fetch the entire list of children when only some may be required.

AXUIElementCopyAttributeValues exposes an index and maximum values; it'd be convenient and hopefully improve performance if this were mapped to Python's array slicing syntax.

My specific use case is navigating relative to the current table selection, e.g. to the next/previous row.

@lunixbochs
Copy link

This has been mitigated for a bit in the beta. Let me know if the current solution ends up being too slow for some app.

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

No branches or pull requests

2 participants