auoit图像搜索不到
2024/8/3 05:56:14 使用autoit的截屏函数查看能否正常截图到完整屏幕,如果不能截图不完整说明是屏幕缩放问题 #include <ScreenCapture.au3> Local $screenWidth = @DesktopWidth Local $screenHeight = @DesktopHeight _ScreenCapture_Capture(@ScriptDir & "\screenshot.png", 0, 0, $screenWidth-1, $screenHeight-1) 通过以下代码能够解决 #include ".\ImageSearch\ImageSearch.au3" $sImage = GetFullPath("up_win.png") Local $screenWidth = @DesktopWidth Local $screenHeight…