ilike86 Posted December 23, 2011 Share Posted December 23, 2011 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 More sharing options...
water Posted December 23, 2011 Share Posted December 23, 2011 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 - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
ilike86 Posted December 23, 2011 Author Share Posted December 23, 2011 nice rules, can u please translade in german im not so stron in english. is thaere a problem with my post or bot? Link to comment Share on other sites More sharing options...
water Posted December 23, 2011 Share Posted December 23, 2011 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 - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
ilike86 Posted December 23, 2011 Author Share Posted December 23, 2011 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 More sharing options...
Developers Jos Posted December 23, 2011 Developers Share Posted December 23, 2011 *click* SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts