BrandonH Posted March 30, 2016 Share Posted March 30, 2016 I am trying to make image search program using VB.Net with autoit imagesearch.dll. I am trying to add tolerance value and transparency value. I know how to add tolerance value and transparency value in autohotkey or autoit, but I don't know how to add tolerance and transparency value on VB.Net Here is examples: autoit code: $result=_ImageSearch($findImage[$i],$resultPosition,$x, $y,$tolerance,$transparency) autohotkey code: ImageSearch, reX, reY, 440,90,530,340,*transBlack *50 %A_Temp%\pathnclear.bmp ; vb.net code (without tolerance, transparency value): Dim Temp As IntPtr = ImageSearch(0, 0, Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height, patch + "\images\" + filePatch) can someone teach me how to add tolerance and transparency value???? Please. Link to comment Share on other sites More sharing options...
JohnOne Posted March 31, 2016 Share Posted March 31, 2016 Not possible, unless VB.net ImageSearch is supplied, or at least its documentation. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
AutoBert Posted March 31, 2016 Share Posted March 31, 2016 This question is not AutoIt related but VB.Net related so i think is better to asking in a VB.Net forum if someone wrapped the functioncalls of the ImageSearch.dll or someone is willing to this for you. 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