Antidote   12-24-2014, 06:39 AM
I managed to check for maxed zoom out using PixelGetColor (thanks odySSeys & AtoZ). Here's the updated code for func ZoomOut

Code:
Func ZoomOut()
  GUICtrlSetData($Results, "Zoom Out" & @CRLF, -1)
  While 1
 If Hex(PixelGetColor(127, 248, $HWnD),6) = "E8C656" And Hex(PixelGetColor(61, 298, $HWnD),6) = "AC8C42" And Hex(PixelGetColor(577, 130, $HWnD),6) = "D5A04F" And Hex(PixelGetColor(739, 251, $HWnD),6) = "ECCE61" Then
ExitLoop
 Else
ControlSend($HWnD, "", "", "{DOWN}", 0)
 EndIf
 If $RunState = False Then
ExitLoop
 EndIf
 Sleep(500)
  WEnd
  GUICtrlSetData($Results, "Zoom Out Complete" & @CRLF, -1)
EndFunc

I tested on 2 different accounts and it both detect max zoom out
  
Users browsing this thread: 3 Guest(s)
Konloch Software - Bytecode Viewer - Reverse Engineering Forum
Copyright © 2014-2025 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.