Jump to content

help me


cruzehh_
 Share

Recommended Posts

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

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:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

8 minutes ago, cruzehh_ said:

its a game

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:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

  • Jos locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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