@laksenluke
HotKeySet ( "{F5}" , "Start" ) ; Der Taste Numpad7 ist nun die Info Start hinzugefügt
HotKeySet ( "{F6}" , "Ende" ) ; Der Taste Numpad8 ist nun die Info Ende hinzugefügt
Opt('PixelCoordMode', 2) ; falls window als option gewählt wurde
Opt('MouseCoordMode', 2) ; falls window als option gewählt wurde
While (1) ; Endlosschleife anfang und 1 für an
Sleep (1000) ; Überprüft jetzt jede Sekunde ob die oben genannten Tasten/Infos gedrückt worden sind
Wend ; Endlosschleife ende
Func Start () ; Das Zeil für die Info Start
While (1) ; die vorher vergessene while funktion sry xD
Sleep (5000) ; Wartet 5 sekunden bis er anfängt
$begin = TimerInit()
Send ( "{F3 down}" , 0 ) ; hält die Taste F3 runter
Sleep (500) ; hält die taste 0,5 Sekunden
Send ( "{F3 up}" , 0 ) ; lässt die Taste F3 wieder los
Sleep (1000) ; Wartet 1ne Sekunde
Send ( "{F4 down}" , 0 ) ; hält die Taste F4 runter
Sleep (500) ; Hält die Taste 0,5 Sekunden
Send ( "{F4 up}" , 0 ) ; lässt die Taste F4 wieder los
Sleep (1000) ; Wartet wieder 1ne Sekunde
While (1)
= PixelGetColor ( 414, 130 ) ; Farbe: 0xFCF8FC
= PixelGetColor ( 514, 60 ) ; Farbe: 00xE4E0E4
= PixelGetColor ( 450, 188 ) ; Farbe: 0xF3EFF3
= PixelGetColor ( 298, 112 ) ; Farbe: 0xF3EFF2
= PixelGetColor ( 394, 124 ) ; Farbe: 0xFCF8FC
= PixelGetColor ( 343, 345 ) ; Farbe: 0xEFEAEE
= PixelGetColor ( 375 , 199 ) ; Farbe: 0xF4F0F4
= PixelGetColor ( 440 , 181 ) ; Farbe: 0xECE8EC
= PixelGetColor ( 489 , 205 ) ; Farbe: 0xD8D4D8
= PixelGetColor ( 381 , 95 ) ; Farbe: 0xFDF9FC
= PixelGetColor ( 380 , 77 ) ; Farbe: 0xFCF8FC
= PixelGetColor ( 330 , 51 ) ; Farbe: 0xFCF8FC
= PixelGetColor ( 386 , 51 ) ; Farbe: 0xFCF8FC
= PixelGetColor ( 489 , 63 ) ; Farbe: 0xF7F3F7
= PixelGetColor ( 325 , 221 ) ; Farbe: 0xEBE7EB
= PixelGetColor (346, 101) ;0xDFDCDF
= PixelGetColor (412, 152) ; 0xFCF8FB
= PixelGetColor (345, 114) ; 0xF4F0F4
= PixelGetColor (449, 129) ; 0xF9F5F8
= PixelGetColor (536, 87) ; 0xE0DCE0
= 2300
If = 0xE0DCE0 Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xF9F5F8 Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xF4F0F4 Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFCF8FB Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xDFDCDF Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFCF8FC Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFCFCFB Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xE4E0E4 Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}"))
ExitLoop
EndIf
If = 0xFCFCFB Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFCF8FC Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFCFCFB Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xF3EFF2 Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFCFCFB Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFCF8FC Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFCFCFB Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xF9F5F8 Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFCFCFB Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xF4F0F4 Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFCFCFB Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xECE8EC Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFCFCFB Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xD8D4D8 Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFCFCFB Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFBFBFB Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFDF9FC Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFCF8FC Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFCFCFB Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFBFBFB Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFCF8FC Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFCF8FC Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFCFCFB Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFBFBFB Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xF7F3F7 Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xFBFBFB Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
If = 0xEBE7EB Then
Sleep ( )
Send("{F4 down}")
Sleep(500)
Send("{F4 up}")
ExitLoop
EndIf
$dif = TimerDiff($begin)
If $dif > 60000 Then; wenn die differenz bis zum rotemakiertem timerstart größer als 1min ist, dann
Exit Loop
Endif
Sleep(500) ; Da der While Befehl ist muss auch ein Sleep befehl drin sein sonst überlastet das den PC unnötig
Wend
Sleep(3000) ; wartezeit , bevor er wieder von vorne anfängt
Wend ; die vorher vergessene Wend funktion sry xD
Endfunc
Func Ende ()
Exit ; Programm beendet sich
EndFunc
geändertes ist rot makiert