Make your program USE a gui

前端 未结 5 1883
我寻月下人不归
我寻月下人不归 2021-01-03 10:56

I\'d like to write a program able to \"use\" other programs by taking control of the mouse/keyboard and being able to \"see\" what\'s on the screen.

I used AutoIt to

5条回答
  •  迷失自我
    2021-01-03 11:15

    I've used the Windows (only) Input API to write a VNC-like remote-control application in the past. It lets you fake keyboard and mouse input nicely at a system level (ie not just posting events to a single application).

    If you're trying to do any sort of automated testing of whole systems at the GUI level, this excellent USENIX paper describing automated responsiveness testing is a must-read.

提交回复
热议问题