Jump to content

Help! BmpSearch error


LWJ
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...