Search found 7 matches

by Riki81
29 Jun 2017, 14:56
Forum: Ask For Help
Topic: No WM_MOUSEMOVE Message sent in Win 10 Gui w/ Transcolor set Topic is solved
Replies: 7
Views: 1561

Re: No WM_MOUSEMOVE Message sent in Win 10 Gui w/ Transcolor set Topic is solved

try this example CoordMode, Mouse, Screen WM_MOUSEMOVE=0x200 OnMessage(WM_MOUSEMOVE, "MOUSEMOVE") CustomColor := 000000 ; Can be any RGB color (it will be made transparent below). Gui +LastFound +AlwaysOnTop -Caption +border +ToolWindow ; +ToolWindow avoids a taskbar button and an alt-tab menu item....
by Riki81
29 Jun 2017, 13:32
Forum: Ask For Help
Topic: Gdip_Imagesearch exclude found zones for correct result Topic is solved
Replies: 5
Views: 1096

Re: Gdip_Imagesearch exclude found zones for correct result Topic is solved

Yes, the difference is only with a large amount of hits. Stress-test with one color 1920x1200 haystack and same 30x30 needle:
ImageImage
by Riki81
28 Jun 2017, 14:56
Forum: Ask For Help
Topic: Combining three scripts into one exe
Replies: 1
Views: 414

Re: Combining three scripts into one exe

Code: Select all

#Persistent

a:=A_TickCount
b:=A_TickCount
Loop
{
	if (A_TickCount-a > 600)
	{
		Send, {f}
		Send, {f}
		a:=A_TickCount
	}
	Sleep, 20
	if (A_TickCount-b > 6000)
	{
		Send, {r}
		b:=A_TickCount
	}
}

#p::Pause
by Riki81
28 Jun 2017, 12:54
Forum: Ask For Help
Topic: Gdip_Imagesearch exclude found zones for correct result Topic is solved
Replies: 5
Views: 1096

Re: Gdip_Imagesearch exclude found zones for correct result Topic is solved

Found another solution. It do same but inside Gdip_MultiLockedBitsSearch function. Now I can use ImageSearch with Instances=0 parameter as usual. With big haystack this method ~15x faster. Gdip_MultiLockedBitsSearch(hStride,hScan,hWidth,hHeight,nStride,nScan,nWidth,nHeight ,ByRef OutputList="",Outer...
by Riki81
28 Jun 2017, 07:54
Forum: Ask For Help
Topic: Gdip_Imagesearch exclude found zones for correct result Topic is solved
Replies: 5
Views: 1096

Re: Gdip_Imagesearch exclude found zones for correct result Topic is solved

Great solution, That's exactly what I wanted. Thank you, noname!
by Riki81
27 Jun 2017, 12:38
Forum: Ask For Help
Topic: Gdip_Imagesearch exclude found zones for correct result Topic is solved
Replies: 5
Views: 1096

Gdip_Imagesearch exclude found zones for correct result Topic is solved

I need to count the number of images with Gdip_Imagesearch. The problem is when I work with simple one-color images, the function does not exclude previous found zone in next instances-loop search... There are significantly more hits in the result (61 hits instead of the correct 3, in example) and g...

Go to advanced search