ImageSearch ErrorLevel 2 When Image is on Secondary Drive (Windows 10)
Posted: 12 Aug 2017, 14:55
Has anyone else encountered this?
I am running windows 10.
I am using AHK v2.0-a074 (x64).
When I use ImageSearch with a source image on a secondary drive (D:\), it fails with ErrorLevel 2.
When I use the same code but move the image to the C:\ drive, it works successfully.
I am running windows 10.
I am using AHK v2.0-a074 (x64).
When I use ImageSearch with a source image on a secondary drive (D:\), it fails with ErrorLevel 2.
Code: Select all
ImageSearch, foundX, foundY, 0, 0, 1000, 1000, D:\Test\img.png
Code: Select all
ImageSearch, foundX, foundY, 0, 0, 1000, 1000, C:\Test\img.png