Jump to content

Recommended Posts

Posted (edited)

hey I need help coding i bot I want to do that as soon the imagesearch detect the picture to close it it works when i press the hotkey for it but i want to do it without Hotkey just as soon as the window pops op to close it heres my code please help me :) 

 

-snip-

Edited by Jos
Posted

Welcome to AutoIt and the forum!

Does the popup have a window title you could use to detect it? If there is a button to click does the AutoIt WIndow Info Tool provide an ID for this button?
Maybe you could post a screenshot of the window and the AutoIt Window Info Tool?

BTW: Could you please give meaningful titles to your posts? You get more answers when people know what you are asking for without first having to open the thread.

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

thanks for youre reply water , its a game and you have to collect resources sometimes theres a screen pop up the resource in not avaible anymore and thers a close button i screenshotted that and let it detect by imagesearch it works when i press the hotkey the mouse move on the button and close it but i want to do it that it as soon as it comes up closed not me pressing the hotkey you understand ? :) 

Posted
  On 2/26/2017 at 2:47 PM, cruzehh_ said:

its a game

Expand  

Seems you missed to read the forum rules on your way in. Game automation of any kind is not permitted here.
Hence you won't get assistance on this subject here.

My UDFs and Tutorials:

  Reveal hidden contents

 

  • Jos locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...