How automation on qt?
-
I want to write a program (small) that will:
-
move the mouse pixel by pixel without human intervention.
-
take a screenshot (print screen) the center of the screenshot at the location of the mouse and it is also desirable to set the size in pixels of the snapshot (not the entire monitor)
But I can't find libraries, preferably some kind of unified library for automation (and move the mouse and type the keyboard and monitor the screen) that can be connected to qt.
-
-
@timob256 said in How automation on qt?:
move the mouse pixel by pixel without human intervention.
Try this function:
and how to make a screenshot is described here in this example:
-
@timob256 I'm not sure whether you want to animate the mouse cursor movement, if that is what you want then take a look at https://doc.qt.io/qt-5/animation-overview.html