Autoit3适合做软件安装运行的测试工作。
运行截图可以用
;截屏 需引用
#include <ScreenCapture.au3>
;$ac获取当前激活窗口内部句柄。作为判断要截取的程序窗口句柄
$ac = WinGetHandle("[active]")
$name = “要保存路径+保存名”
_ScreenCapture_CaptureWnd($name& "-6.jpg",$ac)
这样就能自动一键截屏了。
Autoit3适合做软件安装运行的测试工作。
运行截图可以用
;截屏 需引用
#include <ScreenCapture.au3>
;$ac获取当前激活窗口内部句柄。作为判断要截取的程序窗口句柄
$ac = WinGetHandle("[active]")
$name = “要保存路径+保存名”
_ScreenCapture_CaptureWnd($name& "-6.jpg",$ac)
这样就能自动一键截屏了。