|
Post by Admin on Nov 3, 2014 19:18:12 GMT
;You must pass top left color, and checksum of area to function
Opt("PixelCoordMode", 1) HotKeySet("{Esc}", "_Exit")
$__x = 43 $__y = 156 $__width = 10 $__height = 10 Sleep(3000)
$col = PixelGetColor($__x, $__y) ;Get top left color or checksum area $sum = PixelChecksum($__x, $__y, $__x + $__width, $__y + $__height) ; Get checksum of area
$timer = TimerInit() _PictureSearch($col, $sum) $time = TimerDiff($timer) ConsoleWrite($time & @LF)
Func _PictureSearch($Color, $Checksum) $iX = @DesktopWidth $iY = @DesktopHeight $myY = 0 Do $aPos = PixelSearch(0, $myY, $iX, $iY, $Color) If IsArray($aPos) Then If PixelChecksum($aPos[0], $aPos[1], $aPos[0] + 10, $aPos[1] + 10) = $Checksum Then MouseMove($aPos[0], $aPos[1], 0) Sleep(1000) ; Just to show it working EndIf _SearchX($aPos[0], $aPos[1]) $myY = $aPos[1] + 1 Else $myY = @DesktopHeight EndIf Until $myY >= @DesktopHeight EndFunc ;==>_PictureSearch
Func _SearchX($X, $Y) Local $a Do $a = PixelSearch($X + 1, $Y, @DesktopWidth, $Y, $col) If IsArray($a) Then $X = $a[0] If PixelChecksum($a[0], $a[1], $a[0] + 10, $a[1] + 10) = $sum Then MouseMove($a[0], $a[1], 0) EndIf Else $X = @DesktopWidth EndIf Until $X >= @DesktopWidth
EndFunc ;==>_SearchX
Func _Exit() Exit EndFunc ;==>_Exit
|
|
Account-foefe
Guest
Posts: 0
|
Post by Account-foefe on Dec 31, 2019 2:41:25 GMT
I'm selling Aged 2012 Twitter accounts with verified email address only for 4$ All accounts come with full access to the original email that was used to create the account! FAQ. Are the accounts aged? Yes, 7 years old What are the accounts like? with followers, following, bio or profile picture, all with a luxury name & username Only for today. buy 2 get 1 account for free If you're interested Contact me via Email - congmmo@gmail . com sellaccs.net Discord : CongMMO#9766 Skype & Telegram : congmmo ICQ : @652720497 Thank you!
|
|