Sign in to follow this  
Followers 0
jakobs

Send Key After Image Detection

13 posts in this topic

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 ? :/

Share this post


Link to post
Share on other sites



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


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
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 ?

 

Share this post


Link to post
Share on other sites

If you can tell me what you're trying to automate, sure. Help us help you ;)

 


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

its a Window in a browser which you close by pressing esc , please help me been stuck on this for so long 

Share this post


Link to post
Share on other sites

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?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

do you got skype? ill show you:) over join me or so    

Share this post


Link to post
Share on other sites

Just post a screenshot, I don't do skype


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

do you really need a screenshot for it ? can't you just tell me why my send esc dont work?  

Share this post


Link to post
Share on other sites

#10 ·  Posted

Yes I really need a screenshot for it. We can't help with only vague statements, it helps to see what you are seeing. Why don't you want to post?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#11 ·  Posted

I do it one  sec

 

Share this post


Link to post
Share on other sites

#12 ·  Posted

check you pms bro

Share this post


Link to post
Share on other sites

#13 ·  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.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0