Skip to content

Add action to tap text on screen #2327

Open

Description

@jambl3r

Have you checked if an issue already exists for this feature request?

  • Nobody else has requested this feature before

What feature would you like added?

Add action to tap text on screen, e.g. with computer vision on a screenshot.

From email:

I have one more feature suggestion for Key Mapper: a "Click on Text" action based on text matching.

The idea: when creating a key map, I can type a piece of text, for example "Play" or "Next", as the target. When the key map is triggered, Key Mapper looks at the text currently on the screen. If it finds a matching text, it performs a click on that element. For example, I could assign the Volume Up button to a key map that clicks wherever the text "Play" appears on screen.

Why this is useful: Key Mapper already supports tap on a screen coordinate, swipe, and the UI element recording feature. The UI element feature is great, but it does not always work, because some apps do not expose their elements properly and cannot be detected. A text-matching click would cover those cases. It would also keep working when a button moves to a slightly different position on the screen, which a fixed-coordinate tap cannot handle.

Some options that would make it even better: exact match or partial match, case sensitive or insensitive, and the option to match the content description of an element as well as its visible text.

This would be especially helpful for blind and low-vision users who rely on accessibility services every day.

App version

No response

Device model and manufacturer

No response

Extra info

  • My device is rooted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

actionenhancementneeds triage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions