LWJ Posted March 23, 2017 Share Posted March 23, 2017 I am trying to search a bmp inside a bmp or a screenshot, so I found this BmpSearch - Search for Bitmap within Bitmap by Beege, but the error Variable must be of type "Object".: Local $iRowInc = ($tSizeSource.X - $tSizeFind.X) * 4 Local $iRowInc = ($tSizeSource^ ERROR come out I tried many way to solve but failed Eg. ObjCreate _WinAPI_LoadImage Someone please help me, thank you. Kolokol1 1 Link to comment Share on other sites More sharing options...
aa2zz6 Posted March 23, 2017 Share Posted March 23, 2017 (edited) Before you ran the example, did you put the BmpSearch.au3 in the Include folder? C:\Program Files (x86)\AutoIt3\Include Edit: I downloaded the example files by Beege and tested them on my work PC and they work fine. Edited March 23, 2017 by aa2zz6 Link to comment Share on other sites More sharing options...
LWJ Posted March 23, 2017 Author Share Posted March 23, 2017 Yup I have put BmpSearch.au3 in the include folder and yes example file by Beege is working but when I add words like Test123 into his example file _ScreenCapture_Capture('Test123') something like and it wont work, but the actual function of this BmpSearch is search Bmp within Bmp so this BmpSearch must able to search my bmp file inside another bmp file or screenshot. But the problem is it wont work. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now