LWJ

Help! BmpSearch error

3 posts in this topic

#1 ·  Posted

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.

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by aa2zz6

Share this post


Link to post
Share on other sites

#3 ·  Posted

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now