title: autoit it possible to use "PixelSearch" and "ControlClick" and "PixelGetColor" on bluestacks
body: <p><strong>possible to use "PixelSearch" and "ControlClick" and "PixelGetColor" on bluestacks in hind windows</strong></p>
  
  <p>i want to run bot in bluestacks  and hind windows but PixelSearch can only use on Windows</p>
  
  <p>i want to use PixelSearch to find colour if true to click on other point and working in hind windows </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>Local $hwnd, $Cor
  $hwnd = WinGetHandle("WindowsForms10.Window.8.app.0.33c0d9d")
  While 1
  $Cor = PixelSearch(460, 271, 511, 323, 0x9D6F47,$hwnd )
  If Not @error Then
   ControlClick ( "BlueStacks App Player","","", "left" ,  1 , 477, 277 )
   sleep(200)
  EndIf
  
  $Cor = PixelSearch( 546, 212, 598, 267, 0x431567,$hwnd )
  If Not @error Then
   ControlClick ( "BlueStacks App Player","","", "left" ,  1 , 608, 512 )
   sleep(200)
  EndIf
  WEnd</code></pre>
  </div>
  </div>
  </p>
  
  <p>i try this code it works when bluestacks on fornt but i move screen or hind bluestacks is not works</p>