Robotjs: Huge ask: Get position of text on-screen?

Created on 1 Apr 2016  路  3Comments  路  Source: octalmage/robotjs

In my head, after 30 seconds of thinking, something like

robot.getPosOfText("Submit new issue");

would mean that RobotJS could go to the submit issue button directly, rather than going to a hardcoded X and Y position.
Would also make it more flexible in the sense of different screen sizes, window location, etc.

Most helpful comment

This is something that is coming with the bitmap module. You won't be able to find text, but you'll be able to find an image on the screen. So you could take a screenshot of the button and save it, then RobotJS can find and click it.

All 3 comments

This is something that is coming with the bitmap module. You won't be able to find text, but you'll be able to find an image on the screen. So you could take a screenshot of the button and save it, then RobotJS can find and click it.

Any progress on this? @octalmage

This issue has been closed because it has been inactive for > 180 days.
You may reopen this issue if it has been closed in error.

Was this page helpful?
0 / 5 - 0 ratings