Jump to content

Recommended Posts

Posted

hey Guys i hope you can help me here , I want to make a script , which as soon it detecs the Pixelsearch to press esc and make a loop of it Pixelsearch , Esc , Pixelsearch , Esc 

heres my code

 

  func Imagesearch()
   while 1

      $array_pos = PixelSearch(70,150,1500,500 ,0xFF1C00, 0)

      If @error = 0 then

      Mouseclick("left", $array_pos[0],$array_pos[1],2,0)

      Send( "{ESCAPE}" , 500 )

      EndIf

      Sleep (500)

WEnd

 

 

How do i do it ? :/

Posted
Just now, JLogan3o13 said:

@jakobs What exactly are you trying to automate? Typically there is a much easier way to do it than using imagesearch and pixelsearch.

No id like to use the pixelsearch :) and just press an esc in a loop after it :) can you help me ?

 

  • Moderators
Posted

You're not understanding, without knowing what the browser window is, no one can assist you. Is it an IE window, a Chrome window, a Java game, what? And what is the URL?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

  • Moderators
Posted

I did, and you have my PM response. As you stated you read the forum rules, and acknowledge you're trying to circumvent them, I see no point in you continuing on this forum.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Guest
This topic is now closed to further replies.
×
×
  • Create New...