Register for your free account! | Forgot your password?

You last visited: Today at 12:54

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Frage

Discussion on Frage within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2013
Posts: 32
Received Thanks: 1
Frage

Hey ist es möglich einen Bot zu erstellen der linksklick drückt sobalt 2 Farben übereinander sind?
darkline28 is offline  
Old 08/04/2015, 13:49   #2
 
Shadow992's Avatar
 
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,878
Antwort

*** das geht mit AutoIt.
Shadow992 is offline  
Old 08/04/2015, 14:56   #3
 
elite*gold: 0
Join Date: Jun 2013
Posts: 32
Received Thanks: 1
Könntest du mir auch sagen wie?
darkline28 is offline  
Old 08/04/2015, 15:23   #4
 
elite*gold: 0
Join Date: Mar 2010
Posts: 360
Received Thanks: 132
"2 Farben übereinander sind" ... ahjo, Additiv, Subtraktiv, ... ?

Am Beispiel der addiven Mischung:
Additive Farbmischung berechnen und den resultierenden Farbwert per Pixelsearch suchen
Daifoku is offline  
Old 08/04/2015, 19:15   #5
 
elite*gold: 0
Join Date: Jun 2013
Posts: 32
Received Thanks: 1
HotKeySet("F12", "exitkill")

Func BalkenSuchen ()
; $posora = PixelSearch(913, 753, 1004, 753, 0xF78a00,1)
$posora = PixelSearch(594, 716, 684, 716, 0xFF8A00,1)
$errora = @error
If $errora = 0 Then
;$posgruen = PixelSearch(684, 716, 594, 716,0x21CF52,3) $posgruen = PixelSearch(1004, 754, 913, 757,0x21CE5A,2)
$posgruen = PixelSearch(684, 716, 594, 716,0x21CF52,3)
$errgruen = @error
If $errgruen = 0 Then
$dif = ($posora[0] - $posgruen[0])
If $dif < 3 and $dif > -3 Then
MouseClick("left", $posora[0], $posora[1], 1,1 )
EndIf
EndIf
EndIf
EndFunc

Funktionirt nicht wo ist der fehler?
darkline28 is offline  
Old 08/04/2015, 20:28   #6
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Ich geb dir nen Tipp... Starte mal dein Programm und schau unten rechts im Tray ob da das AutoIt-Icon zu sehen ist.
alpines is offline  
Old 08/05/2015, 15:56   #7
 
elite*gold: 0
Join Date: Jun 2013
Posts: 32
Received Thanks: 1
Ja ist es.
darkline28 is offline  
Old 08/05/2015, 17:00   #8
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Wenn du dir nicht mal die Mühe machst ein richtiges Script zu posten dann würde man dir helfen aber anscheinend hast du selber kein Bock darauf.

Du registrierst mit HotKeySet eine Taste auf eine Funktion die nicht mal existiert.
alpines is offline  
Reply




All times are GMT +1. The time now is 12:57.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.