Jump to content

Recommended Posts

Posted
#include <Debug.au3>
#include <ImageSearch.au3>
HotKeySet("{!Q}","Quit()")
Global $PicCheck = "proxychecked.png"
Global $Click1=1
Global $Click2=2
Global $i = 12.74
WinActivate("[TITLE:VIP72 Socks Client]")
Sleep(1000)
$x=0
$y=0
While 1
   $Search = _ImageSearch('png/chooseproxy.png',1,$x,$y,1)
   If  $Search =1 Then
      MsgBox(0,"Erros",$i)
      MouseMove($x+10,$y+8+$i,20)
      ;MouseClick("left", $x, $y-8-$i, $Click2)

      ;$CheckPic = _LookPic($PicCheck,$Click2)
      $Search2 = _ImageSearch('png/proxychecked.png',1,$x,$y,1)
      If $Search2 = 0 Then
         Sleep(1000)
          $i+=12.74
      Else
         ExitLoop
      EndIf

   ;ExitLoop ;
   EndIf
   ;Sleep(100)
WEnd

yes, That is my way, but it is not the standard.

Posted
Posted

Better ControlListView or the _GUICtrlListView_*-Functions.

I am researching this, please give me an example script .

i'm newbie , Please, please, :(

Use ControlCommand instead imagesearch.

 

Saludos

 

Posted

simply get handle of listview and then use some _GUICtrlListView_*-Functions. read help file. with about 3 lines of code you will get what you want.

saludos

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...