-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathShinsImageScanClass.ahk
928 lines (825 loc) · 101 KB
/
ShinsImageScanClass.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
;Image/pixel scanning class by Spawnova (5/15/22)
;/~https://github.com/Spawnova/ShinsImageScanClass
;
;General purpose class to scan image data for images and pixels, for ahk_L/ahk_v1 (not compatible with ahk V2)
;
;Image transparency is not handled in this class, if an image contains pixels that are not fully opaque they are simply ignored;
;which can be used to match images with portions that should be ignored by having those pixels be less than 0xFF000000
;
;I designed this class to be relatively user friendly but still maintain good performance
;I can't promise it will work for every setup, I can only confirm that it works for me on windows 10 (32 and 64 bit)
;
;All returned coordinate positions are dependant on the mode used, desktop uses screen space, client uses client space, otherwise window space
;
;Using desktop mode with windows aero enabled is much slower, try and use window/client mode where possible
#Requires AutoHotkey v1.1.27+
class ShinsImageScanClass {
;title : ahk window title or other type of identifier, leave blank or set to 0 to scan the entire desktop
;UseClientArea_OrMainMonitor : UseClientArea = If a window is specified it will use the client area (generally does not include title bar and menus)
; Otherwise it will include the entirety of the window, which also includes extra space on the sides
; and bottom used for mouse dragging
; OrMainMonitor = Only search the main monitor, if false it will search the entire virtual desktop space (multi-monitors)
__New(title:=0, UseClientArea_OrMainMonitor:=1) {
global ShinsImageScanClass_Monitors
this.AutoUpdate := 1 ;when disabled, requires you to call Update() manually to refresh pixel data, useful when you need to scan multiple things on 1 frame
this.UseControlClick := 0 ;when enabled attempts to use ControlClick to send clicks which works for background programs
;not all programs will respond to this however, so it may be necessary to use normal clicks which have to be foreground
this.WindowScale := 1 ;if windows has set the desktop scaling to anything other than 100% you can adjust with this variable, for instance if windows scaling is set to 150%, set this variable to 1.5
;#############################
; Setup internal stuff
;#############################
this.LoadLib("gdiplus")
VarSetCapacity(gsi, 24, 0)
NumPut(1,gsi,0,"uint")
DllCall("gdiplus\GdiplusStartup", "Ptr*", token, "Ptr", &gsi, "Ptr", 0)
this.gdiplusToken := token
this.bits := (a_ptrsize == 8) ;0=32,1=64
this.desktop := (title = 0 or title = "")
this.UseClientArea := UseClientArea_OrMainMonitor
this.VirtualDesktop := !UseClientArea_OrMainMonitor
this.DesktopRegion := {x1:0,y1:0,x2:a_screenwidth,y2:a_screenheight,w:a_screenwidth,h:a_screenheight}
this.imageCache := []
this.offsetX := 0
this.offsetY := 0
this.lastError := ""
if (this.desktop) {
coordmode,mouse,screen
if (!UseClientArea_OrMainMonitor) {
ShinsImageScanClass_Monitors := []
cbk := RegisterCallback("ShinsImageScanClass_MonitorCallback")
DllCall("EnumDisplayMonitors","Ptr",0,"Ptr",0,"ptr",cbk,"uint",0)
if (ShinsImageScanClass_Monitors.count() > 0) {
this.DesktopRegion := {x1:0,y1:0,x2:0,y2:0,w:0,h:0}
for k,v in ShinsImageScanClass_Monitors {
if (v.x1 < this.DesktopRegion.x1)
this.DesktopRegion.x1 := v.x1
if (v.y1 < this.DesktopRegion.y1)
this.DesktopRegion.y1 := v.y1
if (this.DesktopRegion.x2 < v.x2)
this.DesktopRegion.x2 := v.x2
if (this.DesktopRegion.y2 < v.y2)
this.DesktopRegion.y2 := v.y2
}
this.DesktopRegion.w := this.DesktopRegion.x2 - this.DesktopRegion.x1
this.DesktopRegion.h := this.DesktopRegion.y2 - this.DesktopRegion.y1
} else {
this.VirtualDesktop := 0
}
}
} else if (UseClientArea_OrMainMonitor) {
coordmode,mouse,client
} else {
coordmode,mouse,window
}
this.tBufferPtr := tBufferPtr := this.SetVarCapacity("ttBuffer",1048576,0)
this.dataPtr := dataPtr := this.SetVarCapacity("_data",1024,0)
this._scanImage := this.mcode("VVdWU4PsHItEJDSLTCQwi3wkOIt0JDyLEItZCIlEJAyJfCQEi3wkQInViXQkCMHtEDnrD4bHAAAAi3EMD7fSOfIPg7kAAACLQQQp1g+2VCQEKeuJUBAPvlQkCMcAAAAAAMdABAAAAACJWAiJcAyJUBSF/3Q7g/8BdE6D/wJ0WYP/A3Q8g/8EdGeD/wV0aoP/BnRVg/8HdXWLRCQMiUwkMIlEJDSLQUDrCo20JgAAAACLQTCDxBxbXl9d/+CNdCYAi0E86+6NdgCLQTiDxBxbXl9d/+CNdCYAi0E0g8QcW15fXf/gjXQmAItBROvGjXYAi0FM676NdgCLQUjrto12ALj+////g8QcW15fXcO4/////+vxkJCQkJCQkJCQkJCQ|V1ZTiwJEi1kQi3QkQInHwe8QQTn7D4bVAAAAi1kUD7fAOdgPg8cAAABM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AdDyDyrAZg8u+GYPKPDyD1H2d27yDyzGOYQkwAAAAA+dwA+2wAFEJCTpvv7//0Ux0unP/v//RImEJLgAAACJlCSoAAAASImMJKAAAABEiVQkJESJXCQg6AAAAABEi1QkJESLXCQgRIuEJLgAAACLlCSoAAAASIuMJKAAAADpP////0iJjCSgAAAARIlUJCxEiVwkKOgAAAAARItUJCxEi1wkKEiLjCSgAAAA6WT///+QkJCQkJCQ")
this._scanPixelCountRegion := this.mcode("VVdWU4PsKItEJEyLdCREi1wkVItUJEABxotMJFCIHCSJdCQUhcB5DItEJESJdCREiUQkFIt0JEgBzol0JBCFyXkMi0QkSIl0JEiJRCQQi0wkRIXJD4jGAQAAi0QkSIXAD4i6AQAAi0QkPItMJBSLbCQQi3AIOc6NRv+JdCQYD0fBiUQkFInHi0QkPItADI1I/znoD0fNiUwkEITbD4TuAAAAOUwkSA+NagEAAInQD690JEjB6BAPtsCJRCQED7bGiUQkCItEJESJdCQcMfbB4AKJRCQkjQS9AAAAAIlEJCAPtsKJRCQMifaNvCcAAAAAi0QkFDlEJER9bItEJDyLXCQkiyiLRCQcweACAcMB6wNsJCABxY12AIsTD7bOK0wkCInQD7bSic/B+BDB/x8PtsArRCQEMfkp+YnHwf8fMfgp+DjID0fIK1QkDInXwf8fMfop+jjRD0PROBQkg97/g8MEOd11sotcJBiDRCRIAQFcJByLRCQQO0QkSA+Fb////4nwg8QoW15fXcOQjXQmADlMJEgPjXwAAACLRCREi3wkSItsJEjB4AIPr/6JRCQEi0QkFMHgAokEJDHAjXQmAIt0JBQ5dCREfTeLdCQ8i0wkBIsejTS9AAAAAAHxAdkDHCQB3o10JgCLGYHj////ADnaD5TDg8EED7bbAdg58XXng8UBA3wkGDlsJBB1soPEKFteX13Dg8QoMcBbXl9dw7j9////6Vn///+QkJCQkJA=|QVdBVkFVQVRVV1ZTSIPsGIuEJJAAAABBicREiUQkcESLhCSAAAAARIt0JHBIiUwkYIuMJIgAAABFAcZFhcB5DUSLRCRwRIl0J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PtsaJRCQQD7bCiUQkFDlsJAR9a4tEJDSLEItACIP4AQ+F8gAAAIsEJI08gotEJASLDIcPtt0rXCQQidrB+h8x0ynTicoPtsnB+hAPttIrVCQMidbB/h8x8inyOdMPTNorTCQUic7B/h8x8SnxOcsPTcs5TCQIfXSDwAE5xXWxgywkAYsEJDtEJBh1go10JgC4/////+tdifaNvCcAAAAAOch97IPoAY00tQAAAACJRCQIi0QkBDnofUaLTCQ0i3wkNItZCIs/jQw3g/sBdBDpvAAAAI10JgCDwAE5xXQhixyBgeP///8AOdp17IsUJMHiEAHQg8QgW15fXcONdCYAgywkAYPuBIsEJDtEJAh1oul7////jXYAi3QkBI08hQAAAACJfCQcD6/GAwQkjTyCifCLD4nLwfsQD7bbK1wkDInawfofMdMp0w+21StUJBAPtsmJ1sH+HzHyKfI50w9M2itMJBSJysH6HzHRKdE5yw9NyzlMJAgPjW////+DwAEDfCQcOcV1quny/v//jXYAjQydAAAAAA+v2AMcJI08n+sTjbYAAAAAg8ABAc85xQ+ES////4sfgeP///8AOdN15+km////kJCQkJCQkJCQkA==|QVdBVkFVQVRVV1ZTSIPsGEiLQQhEi1AIi3gURIsIRItYBESLQAyLUBBBjUL/hf8PjrsAAABFOdEPjaoAAABBjXH/idWJdCQIwe0QD7b2D7bSQA+27UGJ90U5w315RItpEEyLIUWJ2UGD/QEPhe8AAABGjRQIQ4sclA+290GJ8kUp+kSJ1sH+H0Ex8kEp8kSJ1kGJ2g+220HB+hBFD7bSQSnqRYnVQcH9H0Ux6kUp6kQ51kQPTdYp04newf4fMfMp80E52kQPTNNEOdd9aEGDwQFFOch1m4PoATtEJAgPhXX///8PH0QAALj/////60yQRTnRffNBjXn/RTnDfVKLaRBIixlFidmD/QF0FenfAAAADx+AAAAAAEGDwQFFOch0L0aNFAhGixSTQYHi////AEQ50nXjweAQRAHISIPEGFteX11BXEFdQV5BX8MPH0AAg+gBOfh1ouuPDx+AAAAAAEUPr81EiVwkDEWNNAFFidlFifJDixyUQYnbD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QBRDlkJAwPhXb+//+LRCQwhcAPhMwAAAAPt0QkOA+3bCQgZtHoZtHtAfAPt+3B4BADRCQUAejrUWaQg2wkDAFBg+4Bi0QkDDtEJBQPhdn8//+DxgE5dCQkD4Wk/P//6cD+//8PH4AAAAAAQYPBAUU5zQ+PIfz//0SLVCQwRYXSdUOJ8MHgEEQB4EiDxEhbXl9dQVxBXUFeQV/Dg8YBOXQkJA+FlPv//+l3/v//Zg8fRAAAg8YBOXQkJA+Ff/7//+lf/v//D7dEJDhm0egB8MHgEEEBxA+3RCQgZtHoD7fARAHg66WJ8MHgEANEJBTrmonwweAQAejrkYnwweAQA0QkDOuGkJCQkJCQkA==")
this._cacheTargetImageFile := this.mcode("U4tMJBQPr0wkEIXJfiGLRCQIi1QkDI0ciI20JgAAAACLCIPABIPCBIlK/DnYdfG4AQAAAFvDkJCQkJCQkJCQkA==|RQ+vwUWFwH50TI1JD0GNQP9JKdFJg/kedm6D+AN2aUWJwTHAQcHpAknB4QQPH0AA8w9vBAEPEQQCSIPAEEw5yHXuRInAg+D8QfbAA3QvQYnBRosUiUaJFIpEjUgBRTnIfhtNY8mDwAJGixSJRokUikE5wH4ISJiLDIGJDIK4AQAAAMMPH0QAAEGJwDHADx8ARIsMgUSJDIJJicFIg8ABTTnBdey4AQAAAMOQkJCQkJA=")
this.scanTypes := []
this.scanTypes["LRTB"] := 0
this.scanTypes["RLTB"] := 2
this.scanTypes["LRBT"] := 1
this.scanTypes["RLBT"] := 3
this.scanTypes["TBRL"] := 7
this.scanTypes["TBLR"] := 6
this.scanTypes["BTRL"] := 5
this.scanTypes["BTLR"] := 4
this.scanTypes[0] := 0
if (!this.desktop and !this.hwnd := winexist(title)) {
msgbox % "Could not find window: " title "!`n`nScanner will not function!"
return
}
if (!this.GetRect(gw,gh))
return
this.width := gw
this.height := gh
this.srcDC := DllCall("GetDCEx", "Ptr", (this.desktop ? 0 : this.hwnd),"Uint",0,"Uint",(this.UseClientArea ? 0 : 1))
this.dstDC := DllCall("CreateCompatibleDC", "Ptr", 0)
NumPut(tBufferPtr,dataPtr+0,(this.bits ? 8 : 4),"Ptr")
this.CreateDIB()
}
;####################################################################################################################################################################################################################################
;Image
;
;image : Path to image file
;variance : Value between 0-255, determines how close/far pixels must be to match the target color
;&returnX : Variable to store the x result into
;&returnY : Variable to store the y result into
;centerResults : Return the results centered on the image
;scanDir : Scanning direction, default = LRTB (scan left to right, from top to bottom)
;
;return ; Returns 1 if the image was found; 0 otherwise
Image(image,variance=0,ByRef returnX=0,ByRef returnY=0,centerResults=0,scanDir:=0) {
if (!this.CacheImage(image))
return 0
if (this.AutoUpdate)
this.Update()
data := DllCall(this._ScanImage,"Ptr",this.dataPtr,"Ptr",this.imageCache[image],"uchar",variance,"uchar",centerResults,"int",this.scanTypes[scanDir],"int")
if (data >= 0) {
this.MapCoords(data,returnX,returnY)
return 1
}
return 0
}
;####################################################################################################################################################################################################################################
;ImageRegion
;
;image : Path to image file
;x1 : Top left starting x position
;y1 : Top left starting y position
;w : Width of pixels to search, starting from x1
;h : Height of pixels to search, starting from y1
;variance : Value between 0-255, determines how close/far pixels must be to match the target color
;&returnX : Variable to store the x result into
;&returnY : Variable to store the y result into
;centerResults : Return the results centered on the image
;scanDir : Scanning direction, default = LRTB (scan left to right, from top to bottom)
;
;return ; Returns 1 if the image was found in the specified region; 0 otherwise
ImageRegion(image,x1,y1,w,h,variance:=0,ByRef returnX:=0,ByRef returnY:=0,centerResults:=0,scanDir:=0) {
if (!this.CacheImage(image))
return 0
if (this.AutoUpdate)
this.Update(x1,y1,w,h)
data := DllCall(this._ScanImageRegion,"Ptr",this.dataPtr,"Ptr",this.imageCache[image],"int",(this.autoUpdate?0:x1),"int",(this.autoUpdate?0:y1),"int",w,"int",h,"uchar",variance,"uchar",centerResults,"int",this.scanTypes[scanDir],"int")
if (data >= 0) {
this.MapCoords(data,returnX,returnY)
return 1
}
return 0
}
;####################################################################################################################################################################################################################################
;ImageCount
;
;image : Path to image file
;variance : Value between 0-255, determines how close/far pixels must be to match the target color
;
;return ; Returns the amount of images found; 0 otherwise
ImageCount(image,variance=0) {
if (!this.CacheImage(image))
return 0
if (this.AutoUpdate)
this.Update()
c := DllCall(this._ScanImageCount,"Ptr",this.dataPtr,"Ptr",this.imageCache[image],"uchar",variance,"int")
return (c > 0 ? c : 0)
}
;####################################################################################################################################################################################################################################
;ImageCountRegion
;
;image : Path to image file
;x1 : Top left starting x position
;y1 : Top left starting y position
;w : Width of pixels to search, starting from x1
;h : Height of pixels to search, starting from y1
;variance : Value between 0-255, determines how close/far pixels must be to match the target color
;
;return ; Returns the amount of images found in the specified region; 0 otherwise
ImageCountRegion(image,x1,y1,w,h,variance=0) {
if (!this.CacheImage(image))
return 0
if (this.AutoUpdate)
this.Update(x1,y1,w,h)
c := DllCall(this._ScanImageCountRegion,"Ptr",this.dataPtr,"Ptr",this.imageCache[image],"int",(this.autoUpdate?0:x1),"int",(this.autoUpdate?0:y1),"int",w,"int",h,"uchar",variance,"int")
return (c > 0 ? c : 0)
}
;####################################################################################################################################################################################################################################
;ImageClosestToPoint
;
;image : Path to image file
;pointX : x position of the point
;pointY : y position of the point
;variance : Value between 0-255, determines how close/far pixels must be to match the target color
;&returnX : Variable to store the x result into
;&returnY : Variable to store the y result into
;centerResults : Value between 0-1, if enabled the positions returned will be centered as oposed to top left of the target image
; This also affects distance calculations for closest image
;MaxRadius : Maximum circular radius to search in; lower values require images to be closer to the point
;
;return ; Returns 1 if an image was found close enough to the point; 0 otherwise
ImageClosestToPoint(image,pointX,pointY,variance=0,byref returnX=0,byref returnY=0,centerResults=0,maxRadius=9999) {
if (!c := this.ImageArray(image,a,variance,centerResults))
return 0
min := maxRadius
i := 0
loop % c {
xd := (a[a_index].x/this.windowScale) - pointX
yd := (a[a_index].y/this.windowScale) - pointY
dist := sqrt(xd*xd + yd*yd)
if (dist < min) {
min := dist
i := a_index
}
}
if (i = 0)
return 0
returnX := a[i].x
returnY := a[i].y
return 1
}
;####################################################################################################################################################################################################################################
;ImageArray
;
;image : Path to image file
;&array : An array which will hold all the image locations (first element would be array[1].x and array[1].y)
;variance : Value between 0-255, determines how close/far pixels must be to match the target color
;centerResults : Value between 0-1, if enabled the positions returned will be centered as oposed to top left of the target image
;
;return ; Returns 1 (and updates &array) if any number of images were found; 0 otherwise
ImageArray(image,byref array,variance=0,centerResults=0) {
if (!this.CacheImage(image))
return 0
if (this.AutoUpdate)
this.Update()
count := DllCall(this._ScanImageArray,"Ptr",this.dataPtr,"Ptr",this.imageCache[image],"uchar",variance,"uchar",centerResults,"int")
if (count > 0) {
array := []
loop % count {
this.MapCoords(NumGet(this.tBufferPtr,(a_index-1)*4,"uint"),x,y)
array.push({x:x,y:y})
}
return count
}
return 0
}
;####################################################################################################################################################################################################################################
;ImageArrayRegion
;
;image : Path to image file
;&array : An array which will hold all the image locations (first element would be array[1].x and array[1].y)
;x1 : Top left starting x position
;y1 : Top left starting y position
;w : Width of pixels to search, starting from x1
;h : Height of pixels to search, starting from y1
;variance : Value between 0-255, determines how close/far pixels must be to match the target color
;centerResults : Value between 0-1, if enabled the positions returned will be centered as oposed to top left of the target image
;
;return ; Returns 1 (and updates &array) if any number of images were found in the specified region; 0 otherwise
ImageArrayRegion(image,byref array,x1,y1,w,h,variance=0,centerResults=0) {
if (!this.CacheImage(image))
return 0
if (this.AutoUpdate)
this.Update(x1,y1,w,h)
count := DllCall(this._ScanImageArrayRegion,"Ptr",this.dataPtr,"Ptr",this.imageCache[image],"int",(this.autoUpdate?0:x1),"int",(this.autoUpdate?0:y1),"int",w,"int",h,"uchar",variance,"uchar",centerResults,"int")
if (count > 0) {
array := []
loop % count {
this.MapCoords(NumGet(this.tBufferPtr,(a_index-1)*4,"uint"),x,y)
array.push({x:x,y:y})
}
return count
}
return 0
}
;####################################################################################################################################################################################################################################
;Pixel
;
;color : Color of pixel to find (can be in 0xRRGGBB or 0xAARRGGBB format; alpha is ignored)
;variance : Value between 0-255, determines how close/far pixels must be to match the target color
;&returnX : Variable to store the x result into
;&returnY : Variable to store the y result into
;scanDir : Scanning direction, default = LRTB (scan left to right, from top to bottom)
;
;return ; Returns 1 if pixel was found; 0 otherwise
Pixel(color,variance=0,ByRef returnX=0,ByRef returnY=0,scanDir:=0) {
if (this.AutoUpdate)
this.Update()
data := DllCall(this._ScanPixel,"Ptr",this.dataPtr,"Uint",color&0xFFFFFF,"uchar",variance,"int",this.scanTypes[scanDir],"int")
if (data >= 0) {
this.MapCoords(data,returnX,returnY)
return 1
}
return 0
}
;####################################################################################################################################################################################################################################
;PixelRegion
;
;color : Color of pixel to find (can be in 0xRRGGBB or 0xAARRGGBB format; alpha is ignored)
;x1 : Top left starting x position
;y1 : Top left starting y position
;w : Width of pixels to search, starting from x1
;h : Height of pixels to search, starting from y1
;variance : Value between 0-255, determines how close/far pixels must be to match the target color
;&returnX : Variable to store the x result into
;&returnY : Variable to store the y result into
;scanDir : Scanning direction, default = LRTB (scan left to right, from top to bottom)
;
;return ; Returns 1 if a pixel inside the specified region was found; 0 otherwise
PixelRegion(color,x1,y1,w,h,variance=0,byref returnX=0,byref returnY=0,scanDir:=0) {
if (this.AutoUpdate)
this.Update(x1,y1,w,h)
data := DllCall(this._ScanPixelRegion,"Ptr",this.dataPtr,"Uint",color&0xFFFFFF,"int",(this.autoUpdate?0:x1),"int",(this.autoUpdate?0:y1),"int",w,"int",h,"uchar",variance,"int",this.scanTypes[scanDir],"int")
if (data >= 0) {
this.MapCoords(data,returnX,returnY)
return 1
}
return 0
}
;####################################################################################################################################################################################################################################
;PixelPosition
;
;color : Color of pixel to match at a given position(can be in 0xRRGGBB or 0xAARRGGBB format; alpha is ignored)
;pointX : X position
;pointY : Y position
;variance : Value between 0-255, determines how close/far pixels must be to match the target color
;
;return ; Returns 1 if the color matched at the specified position; 0 otherwise
PixelPosition(color,pointX,pointY,variance=0) {
if (this.AutoUpdate)
this.Update()
c := DllCall(this._ScanPixelPosition,"Ptr",this.dataPtr,"Uint",color&0xFFFFFF,"uint",pointX,"uint",pointY,"uint",variance,"int")
return (c == 1 ? 1 : 0)
}
;####################################################################################################################################################################################################################################
;PixelCount
;
;color : Color of pixel to find (can be in 0xRRGGBB or 0xAARRGGBB format; alpha is ignored)
;variance : Value between 0-255, determines how close/far pixels must be to match the target color
;
;return ; Returns the amount of matching pixels; 0 otherwise
PixelCount(color,variance=0) {
if (this.AutoUpdate)
this.Update()
c := DllCall(this._ScanPixelCount,"Ptr",this.dataPtr,"Uint",color&0xFFFFFF,"uchar",variance,"int")
return (c > 0 ? c : 0)
}
;####################################################################################################################################################################################################################################
;PixelCountRegion
;
;color : Color of pixel to find (can be in 0xRRGGBB or 0xAARRGGBB format; alpha is ignored)
;x1 : Top left starting x position
;y1 : Top left starting y position
;w : Width of pixels to search, starting from x1
;h : Height of pixels to search, starting from y1
;variance : Value between 0-255, determines how close/far pixels must be to match the target color
;
;return ; Returns the amount of matching pixels in the specified region; 0 otherwise
PixelCountRegion(color,x1,y1,w,h,variance=0) {
if (this.AutoUpdate)
this.Update(x1,y1,w,h)
c := DllCall(this._ScanPixelCountRegion,"Ptr",this.dataPtr,"Uint",color&0xFFFFFF,"int",(this.autoUpdate?0:x1),"int",(this.autoUpdate?0:y1),"int",w,"int",h,"uchar",variance,"int")
return (c > 0 ? c : 0)
}
;####################################################################################################################################################################################################################################
;PixelCountRadius
;
;color : Color of pixel to find (can be in 0xRRGGBB or 0xAARRGGBB format; alpha is ignored)
;pointX : X position
;pointY : Y position
;radius : Radius to search in
;variance : Value between 0-255, determines how close/far pixels must be to match the target color
;
;return ; Returns the amount of matching pixels in a specified radius; 0 otherwise
PixelCountRadius(color,pointX,pointY,radius,variance=0) {
if (this.AutoUpdate)
this.Update()
c := DllCall(this._ScanPixelCountRadius,"Ptr",this.dataPtr,"Uint",color&0xFFFFFF,"uint",pointX,"uint",pointY,"uint",radius,"uchar",variance,"int")
return (c > 0 ? c : 0)
}
;####################################################################################################################################################################################################################################
;PixelArrayRegion
;
;color : Color of pixel to find (can be in 0xRRGGBB or 0xAARRGGBB format; alpha is ignored)
;x1 : Top left starting x position
;y1 : Top left starting y position
;w : Width of pixels to search, starting from x1
;h : Height of pixels to search, starting from y1
;variance : Value between 0-255, determines how close/far pixels must be to match the target color
;maxResults : Maximum amount of results to find anything above 250k will be ignored
;
;return ; Returns the amount of matching pixels in the specified region; 0 otherwise
PixelArrayRegion(color,byref array,x1,y1,w,h,variance=0,maxResults=1000) {
if (this.AutoUpdate)
this.Update(x1,y1,w,h)
count := DllCall(this._ScanPixelArrayRegion,"Ptr",this.dataPtr,"Uint",color&0xFFFFFF,"int",(this.autoUpdate?0:x1),"int",(this.autoUpdate?0:y1),"int",w,"int",h,"uchar",variance,"uint",maxResults,"int")
if (count > 0) {
array := []
loop % count {
this.MapCoords(NumGet(this.tBufferPtr,(a_index-1)*4,"uint"),x,y)
array.push({x:x,y:y}) ;for large amounts of results, like 50k+ becomes a bottleneck to add to array
}
return count
}
return 0
}
;####################################################################################################################################################################################################################################
;GetPixel
;
;pointX : X position
;pointY : Y position
;suppressWarning : Enable/Disable warning message when scanning outside the region
;
;return ; Returns the pixel at the pointX,pointY location
GetPixel(pointX,pointY,suppressWarning:=1) {
if (this.AutoUpdate)
this.Update()
pointX<<=0,pointY<<=0
if (pointX < 0 or pointY < 0 or pointX >= this.width or pointY >= this.height) {
if (!suppressWarning)
msgbox % "Cannot get a pixel at position: " pointX "," pointY " as it lies outside of the source region!`n`nYou can disable this warning using the 3rd param of GetPixel()"
return 0
}
return NumGet(this.temp0,(pointX+pointY*this.width)*4,"uint") & 0xFFFFFF
}
;####################################################################################################################################################################################################################################
;SaveImage
;
;name : Name to save to file to
;x : X pos of region
;y : Y pos of region
;w : Width of region, defaults to entire image
;h : Height of region, defaults to entire image
;
;notes ; Saves the current pixel buffer to a png image
SaveImage(name,x:=0,y:=0,w:=0,h:=0) {
if (!InStr(name,".png"))
name .= ".png"
if (this.desktop or this.CheckWindow()) {
if (x!=0 or y!=0 or w!=0 or h!=0) {
dstDC := DllCall("CreateCompatibleDC", "Ptr", 0)
VarSetCapacity(_scan,8)
VarSetCapacity(bi,40,0)
NumPut(w,bi,4,"int"),NumPut(-h,bi,8,"int"),NumPut(40,bi,0,"uint"),NumPut(1,bi,12,"ushort"),NumPut(32,bi,14,"ushort")
hbm := DllCall("CreateDIBSection", "Ptr", dstDC, "Ptr", &bi, "uint", 0, "Ptr*", _scan, "Ptr", 0, "uint", 0, "Ptr")
DllCall("SelectObject", "Ptr", dstDC, "Ptr", hbm)
DllCall("gdi32\BitBlt", "Ptr", dstDC, "int", 0, "int", 0, "int", (w=0?this.width:w), "int", (h=0?this.height:h), "Ptr", this.srcDC, "int", x, "int", y, "uint", 0xCC0020) ;40
DllCall("gdiplus\GdipCreateBitmapFromHBITMAP", "Ptr", hbm, "Ptr", 0, "Ptr*", bm)
} else {
if (this.desktop and this.virtualDesktop)
DllCall("gdi32\BitBlt", "Ptr", this.dstDC, "int", 0, "int", 0, "int", this.width, "int", this.height, "Ptr", this.srcDC, "int", this.desktopRegion.x1, "int", this.desktopRegion.y1, "uint", 0xCC0020) ;40
else
DllCall("gdi32\BitBlt", "Ptr", this.dstDC, "int", 0, "int", 0, "int", this.width, "int", this.height, "Ptr", this.srcDC, "int", 0, "int", 0, "uint", 0xCC0020) ;40
DllCall("gdiplus\GdipCreateBitmapFromHBITMAP", "Ptr", this.hbm, "Ptr", 0, "Ptr*", bm)
}
;largely borrowed from tic function, encoder stuff is a pain
DllCall("gdiplus\GdipGetImageEncodersSize", "uint*", nCount, "uint*", nSize)
VarSetCapacity(ci, nSize)
DllCall("gdiplus\GdipGetImageEncoders", "uint", nCount, "uint", nSize, "Ptr", &ci)
if !(nCount && nSize) {
msgbox % "Problem getting encoder information"
return 0
}
Loop % nCount {
sString := StrGet(NumGet(ci, (idx := (48+7*A_PtrSize)*(A_Index-1))+32+3*A_PtrSize), "UTF-16") ;Thanks tic, this particularily confused me!
if (InStr(sString, "*.PNG")) {
pCodec := &ci+idx
break
}
}
if (!pCodec) {
msgbox % "Problem finding png codec"
return 0
}
DllCall("gdiplus\GdipSaveImageToFile", "Ptr", bm, "Ptr", &name, "Ptr", pCodec, "uint", 0)
} else {
msgbox % "Unable to save image: " name "`n`nIs the window minimized?"
}
}
;####################################################################################################################################################################################################################################
;Click
;
;pointX : X position to click
;pointY : Y position to click
;button : Type of click (left,right,middle)
;
;return ; Returns 1 on success; 0 otherwise
;
;notes : ControlClick will not work for every application
Click(pointX,pointY,button:="left") {
if (this.UseControlClick) {
t := "ahk_id " this.hwnd
ControlClick, x%pointX% y%pointY%, %t%,,%button%,,NA D
sleep 50
ControlClick, x%pointX% y%pointY%, %t%,,%button%,,NA U
} else {
if (!WinActive("ahk_id " this.hwnd)) {
msgbox % "Attempting to click in target window but it is not active!`n`nIf you want to click inactive windows set 'UseControlClick' to true after initializing the class"
return 0
}
click,%pointX%,%pointY%,%button%
}
return 1
}
;####################################################################################################################################################################################################################################
;ClickDrag
;
;pointX1 : X position to start click
;pointY1 : Y position to start click
;pointX2 : X position to end click
;pointY2 : Y position to end click
;button : Type of click (left,right,middle)
;
;return ; Returns 1 on success; 0 otherwise
;
;notes : ControlClick will not work for every application
ClickDrag(pointX1,pointY1,pointX2,pointY2,button:="left") {
if (this.UseControlClick) {
t := "ahk_id " this.hwnd
ControlClick, x%pointX1% y%pointY1%, %t%,,%button%,,NA D
sleep 10
ControlClick, x%pointX2% y%pointY2%, %t%,,%button%,,NA U
} else {
if (!WinActive("ahk_id " this.hwnd)) {
msgbox % "Attempting to click in target window but it is not active!`n`nIf you want to click inactive windows set 'UseControlClick' to true after initializing the class"
return 0
}
MouseClickDrag,%button%,%pointX1%,%pointY1%,%pointX2%,%pointY2%
}
return 1
}
;####################################################################################################################################################################################################################################
;ClickRegion
;
;pointX : X position to click
;pointY : Y position to click
;w : Width of region
;h : Height of region
;button : Type of click (left,right,middle)
;
;return ; Returns 1 on success; 0 otherwise
;
;notes : Clicks randomly within the specified region
ClickRegion(pointX,pointY,w,h,button:="left") {
this.CheckRegion(pointX,pointY,w,h)
pointX += this.Random(0,w)
pointY += this.Random(0,h)
return this.Click(pointX,pointY,button)
}
;####################################################################################################################################################################################################################################
;GetImageDimensions
;
;image : Image file
;&w : Variable to store the width result into
;&h : Variable to store the height result into
;
;return ; Returns void
;
;notes : Gets the width/height of a cached image
GetImageDimensions(image,byref w, byref h) {
if (!this.imageCache[image]) {
this.cacheImage(image)
}
w := numget(this.imageCache[image],2,"ushort")
h := numget(this.imageCache[image],0,"ushort")
}
SetTargetImageFile(image) {
local
if (image = "") {
msgbox % "Error, expected resource image path but empty variable was supplied!"
return 0
}
if (!FileExist(image)) {
msgbox % "Error finding resource image: '" image "' does not exist!"
return 0
}
DllCall("gdiplus\GdipCreateBitmapFromFile", "Ptr", &image, "Ptr*", bm)
DllCall("gdiplus\GdipGetImageWidth", "Ptr", bm, "Uint*", w)
DllCall("gdiplus\GdipGetImageHeight", "Ptr", bm, "Uint*", h)
this.srcDC := DllCall("CreateCompatibleDC", "Ptr", 0)
this.width := w
this.height := h
VarSetCapacity(_scan,8)
VarSetCapacity(bi,40,0)
NumPut(w,bi,4,"int")
NumPut(-h,bi,8,"int")
NumPut(40,bi,0,"uint")
NumPut(1,bi,12,"ushort")
NumPut(32,bi,14,"ushort")
this.hbm2 := DllCall("CreateDIBSection", "Ptr", this.srcDC, "Ptr", &bi, "uint", 0, "Ptr*", _scan, "Ptr", 0, "uint", 0, "Ptr")
this.temp02 := _scan
NumPut(_scan,this.dataPtr,0,"Ptr")
NumPut(this.width,this.dataPtr,(this.bits ? 16 : 8),"uint")
NumPut(this.height,this.dataPtr,(this.bits ? 20 : 12),"uint")
DllCall("SelectObject", "Ptr", this.srcDC, "Ptr", this.hbm2)
VarSetCapacity(r,16,0)
NumPut(w,r,8,"uint")
NumPut(h,r,12,"uint")
VarSetCapacity(bmdata, 32, 0)
DllCall("Gdiplus\GdipBitmapLockBits", "Ptr", bm, "Ptr", &r, "uint", 3, "int", 0x26200A, "Ptr", &bmdata)
scan := NumGet(bmdata, 16, "Ptr")
if (!dllcall(this._cacheTargetImageFile,"ptr",scan,"ptr",_scan,"int",w,"int",h)) {
msgbox % "Problem caching target image file!"
return 0
}
DllCall("Gdiplus\GdipBitmapUnlockBits", "Ptr", bm, "Ptr", &bmdata)
DllCall("gdiplus\GdipDisposeImage", "ptr", bm)
this.CreateDib()
this.AutoUpdate := 0
this.Update()
return 1
}
;##########################################
; internal functions used by the class
;##########################################
CheckRegion(byref x, byref y, byref w, byref h) {
if (w < 0) {
w := -w
x -= w
}
if (h < 0) {
h := -h
y -= h
}
}
CheckWindow() {
if (this.UseClientArea and !this.GetClientRect(w,h))
return 0
else if (!this.UseClientArea and !this.GetWindowRect(w,h))
return 0
if (w != this.width or h != this.height) {
this.width := w
this.height := h
DllCall("DeleteObject","Ptr",this.hbm)
this.CreateDIB()
}
return 1
}
MapCoords(d,byref x, byref y) {
x := (this.offsetX + (d>>16)) * this.WindowScale
y := (this.offsetY + (d&0xFFFF)) * this.WindowScale
}
CreateDIB() {
VarSetCapacity(_scan,8)
VarSetCapacity(bi,40,0)
NumPut(this.width,bi,4,"int")
NumPut(-this.height,bi,8,"int")
NumPut(40,bi,0,"uint")
NumPut(1,bi,12,"ushort")
NumPut(32,bi,14,"ushort")
this.hbm := DllCall("CreateDIBSection", "Ptr", this.dstDC, "Ptr", &bi, "uint", 0, "Ptr*", _scan, "Ptr", 0, "uint", 0, "Ptr")
this.temp0 := _scan
NumPut(_scan,this.dataPtr,0,"Ptr")
NumPut(this.width,this.dataPtr,(this.bits ? 16 : 8),"uint")
NumPut(this.height,this.dataPtr,(this.bits ? 20 : 12),"uint")
DllCall("SelectObject", "Ptr", this.dstDC, "Ptr", this.hbm)
}
SetVarCapacity(key,size,fill=0) {
this.SetCapacity(key,size)
DllCall("RtlFillMemory","Ptr",this.GetAddress(key),"Ptr",size,"uchar",fill)
return this.GetAddress(key)
}
__Delete() {
DllCall("gdiplus\GdiplusShutdown", "Ptr*", this.gdiplusToken)
}
CacheImage(image) {
local
if (this.imageCache.haskey(image))
return 1
if (image = "") {
msgbox % "Error, expected resource image path but empty variable was supplied!"
return 0
}
if (!FileExist(image)) {
msgbox % "Error finding resource image: '" image "' does not exist!"
return 0
}
DllCall("gdiplus\GdipCreateBitmapFromFile", "Ptr", &image, "Ptr*", bm)
DllCall("gdiplus\GdipGetImageWidth", "Ptr", bm, "Uint*", w)
DllCall("gdiplus\GdipGetImageHeight", "Ptr", bm, "Uint*", h)
VarSetCapacity(r,16,0)
NumPut(w,r,8,"uint")
NumPut(h,r,12,"uint")
VarSetCapacity(bmdata, 32, 0)
DllCall("Gdiplus\GdipBitmapLockBits", "Ptr", bm, "Ptr", &r, "uint", 3, "int", 0x26200A, "Ptr", &bmdata)
scan := NumGet(bmdata, 16, "Ptr")
p := DllCall("GlobalAlloc", "uint", 0x40, "ptr", 16+((w*h)*4), "ptr")
NumPut((w<<16)+h,p+0,0,"uint")
loop % ((w*h)*4)
NumPut(NumGet(scan+0,a_index-1,"uchar"),p+0,a_index+7,"uchar")
loop % (w*h)
if (NumGet(scan+0,(a_index-1)*4,"uint") < 0xFF000000) {
NumPut(1,p+4,"uint")
break
}
DllCall("Gdiplus\GdipBitmapUnlockBits", "Ptr", bm, "Ptr", &bmdata)
DllCall("gdiplus\GdipDisposeImage", "ptr", bm)
this.ImageCache[image] := p
return 1
}
Update(x:=0,y:=0,w:=0,h:=0,applyOffset:=1) {
if (this.desktop) {
DllCall("gdi32\BitBlt", "Ptr", this.dstDC, "int", 0, "int", 0, "int", (!w||w>this.desktopRegion.w?this.desktopRegion.w:w), "int", (!h||h>this.desktopRegion.h?this.desktopRegion.h:h), "Ptr", this.srcDC, "int", this.desktopRegion.x1+x, "int", this.desktopRegion.y1+y, "uint", 0xCC0020) ;40
} else if (this.CheckWindow()) {
DllCall("gdi32\BitBlt", "Ptr", this.dstDC, "int", 0, "int", 0, "int", (!w||w>this.width?this.width:w), "int", (!h||h>this.height?this.height:h), "Ptr", this.srcDC, "int", x, "int", y, "uint", 0xCC0020) ;40
} else {
return 0
}
if (applyOffset) {
this.offsetX := x, this.offsetY := y
} else {
this.offsetX := this.offsetY := 0
}
}
GetRect(ByRef w, ByRef h) {
if (this.desktop) {
w := this.desktopRegion.w
h := this.desktopRegion.h
return 1
}
if (this.UseClientArea) {
if (!this.GetClientRect(w,h)) {
msgbox % "Problem with Client rectangle dimensions, is window minimized?`n`nScanner will not function!`n`n" this.lastError
return 0
}
} else {
if (!this.GetWindowRect(w,h)) {
msgbox % "Problem with Window rectangle dimensions, is window minimized?`n`nScanner will not function!`n`n" this.lastError
return 0
}
}
return 1
}
GetClientRect(byref w, byref h) {
varSetCapacity(buff,32)
if (!DllCall("GetClientRect", "Ptr", this.hwnd, "Ptr", &buff))
return this.err(-1,"Call to GetClientRect failed for hwnd: " this.hwnd)
w := NumGet(buff,8,"int")
h := NumGet(buff,12,"int")
if (w <= 0 or h <= 0)
return this.err(-2,"GetClientRect returned invalid dimensions (" w "," h ") for hwnd: " this.hwnd)
return 1
}
GetWindowRect(byref w, byref h) {
varSetCapacity(buff,32)
if (!DllCall("GetWindowRect", "Ptr", this.hwnd, "Ptr", &buff))
return this.err(-1,"Call to GetWindowRect failed for hwnd: " this.hwnd)
x := NumGet(buff,0,"int")
y := NumGet(buff,4,"int")
w := NumGet(buff,8,"int") - x
h := NumGet(buff,12,"int") - y
if (w <= 0 or h <= 0)
return this.err(-2,"GetWindowRect returned invalid dimensions (" w "," h ") for hwnd: " this.hwnd)
return 1
}
Random(min,max) {
random,result,min,max
return result
}
AppendFunc(pos,str) {
local
p := this.mcode(str)
pp := (this.bits ? 24 : 16) + (pos * a_ptrSize)
numput(p,this.dataPtr,pp,"ptr")
}
Mcode(str) {
local
s := strsplit(str,"|")
if (s.length() != 2)
return
if (!DllCall("crypt32\CryptStringToBinary", "str", s[this.bits+1], "uint", 0, "uint", 1, "ptr", 0, "uint*", pp, "ptr", 0, "ptr", 0))
return
p := DllCall("GlobalAlloc", "uint", 0, "ptr", pp, "ptr")
if (this.bits)
DllCall("VirtualProtect", "ptr", p, "ptr", pp, "uint", 0x40, "uint*", op)
if (DllCall("crypt32\CryptStringToBinary", "str", s[this.bits+1], "uint", 0, "uint", 1, "ptr", p, "uint*", pp, "ptr", 0, "ptr", 0))
return p
DllCall("GlobalFree", "ptr", p)
}
LoadLib(lib*) {
for k,v in lib
if (!DllCall("GetModuleHandle", "str", v, "Ptr"))
DllCall("LoadLibrary", "Str", v)
}
Err(v,r) {
this.lastError := r
return v
}
}
ShinsImageScanClass_MonitorCallback(a,b,c,d) {
global ShinsImageScanClass_Monitors
x1 := numget(c+0,0,"int")
y1 := numget(c+0,4,"int")
x2 := numget(c+0,8,"int")
y2 := numget(c+0,12,"int")
w := x2-x1
h := y1-y1
ShinsImageScanClass_Monitors.push({a:a,b:b,c:c,d:d,x1:x1,y1:y1,x2:x2,y2:y2,w:w,h:h})
return 1
}