Jump to content

errorsearch


ilike86
 Share

Recommended Posts

hi im scripting a bot for a game where i need to rise up stones. i want to tell my bot with this.....;~ $x1=0

;~ $y1=0

;~ ;schwarz

;~ $findImage1 = _ImageSearch("xxx.bmp",1,$x1,$y1,0)

;~ func varAS ()

;~ if $findImage1=1 Then

;~ $Variable = PixelSearch(775,793,882,804,0xca1045)

;~ If IsArray($Variable) = True Then

;~ Send("400")

;~ MouseMove($Variable [0], $Variable [1],1)

;~ MouseClick("left")

;~ EndIf

;~ EndIf

;~ EndFunc

that he should search for the image in the window, better said, i need to set up a regionwhere to search for the pic. when he found the pic in this region he should search for the button and klick it. can someone please check why that not works?

Link to comment
Share on other sites

Be sure to read the forum rules first!

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

German translation:

Klar! Alles was mit Automatisierung von Spielen zu tun hat ist verboten. Die Regeln werden ziemlich streng ausgelegt und man ist relativ schnell für ein paar Tage vom Forum gesperrt oder überhaupt für ewig!

Du kannst gerne alles fragen, Spiele und andere Themen aus den rules sind aber tabu!

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

oh danke :)

also das program das ich versuche zu erstellen soll meine warnmeldungen ausblenden die mir ständig anzeigen das meine festplatte voll sind. die meldung kommt ewig unten rechts im bild. wenn ich drauf klicke kommt ein popup das ich durch auf ok klicken schliessen muss.

die funktion oben hat mal funktioniert als ich sie von einem halben jahr geschriebn habe. jetzt aber nicht mehr ichverstehe nicht warum. imagesearch macht nichts, wie bekomme ich imagesearch wieder ans laufen?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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