Hey,
Mein AutoIt Script zeigt mir beim ausführen folgenden Error an:
Line 33 (File"C:Users\Users\PC\Desktop\MausMove.au3"):
MouseMove ( 878, 654 [, speed = 3]
MouseMove ( 878, 654 [, speed = 3^ ERROR
Error:Error parsing function call.
Meine Frage. Was hab ich falsch gemacht?
HotKeySet ( "{F11}" , "Start" )
HotKeySet ( "{f12}" , "Ende" )
While (1)
Sleep (1000)
Wend
Func Start ()
While (1)
Sleep (3000)
Send ( "{c down}" )
Sleep(1000)
Send ( "{c up}" )
Sleep(100)
While (1)
$Mouse1 = PixelGetColor ( 184, 754 )
$Mouse2 = PixelGetColor ( 184, 754 )
$Mouse3 = PixelGetColor ( 184, 754 )
$Mouse4 = PixelGetColor ( 184, 754 )
$Mouse5 = PixelGetColor ( 184, 754 )
If $Mouse1 = 0x000000 Then
Sleep(10)
MouseMove ( 878, 654 [, speed = 3]
ExitLoop
EndIf
If $Mouse1 = 0x000000 Then
Sleep(10)
MouseMove ( 878, 654 [, speed = 3]
ExitLoop
EndIf
If $Mouse2 = 0x000000 Then
Sleep (10)
MouseMove ( 908, 654 [, speed = 3]
ExitLoop
EndIf
If $Mouse2 = 0x000000 Then
Sleep (10)
MouseMove ( 908, 654 [, speed = 3]
ExitLoop
EndIf
If $Mouse3 = 0x000000 Then
Sleep (10)
MouseMove ( 943, 654 [, speed = 3]
ExitLoop
EndIf
If $Mouse3 = 0x000000 Then
Sleep (10)
MouseMove ( 943, 654 [, speed = 3]
ExitLoop
EndIf
If $Mouse4 = 0x000000 Then
Sleep(10)
MouseMove ( 973, 654 [,speed = 3]
ExitLoop
EndIf
If $Mouse4 = 0x000000 Then
Sleep(10)
MouseMove ( 973, 654 [,speed = 3]
ExitLoop
EndIf
If $Mouse5 = 0x000000 Then
Sleep(10)
MouseMove ( 999, 654 [,speed = 3]
ExitLoop
EndIf
If $Mouse5 = 0x000000 Then
Sleep(10)
MouseMove ( 999, 654 [,speed = 3]
ExitLoop
EndIf
Sleep(500)
Wend
Sleep(2000)
WEnd
Endfunc
Func Ende ()
Exit
EndFunc
Mein AutoIt Script zeigt mir beim ausführen folgenden Error an:
Line 33 (File"C:Users\Users\PC\Desktop\MausMove.au3"):
MouseMove ( 878, 654 [, speed = 3]
MouseMove ( 878, 654 [, speed = 3^ ERROR
Error:Error parsing function call.
Meine Frage. Was hab ich falsch gemacht?
HotKeySet ( "{F11}" , "Start" )
HotKeySet ( "{f12}" , "Ende" )
While (1)
Sleep (1000)
Wend
Func Start ()
While (1)
Sleep (3000)
Send ( "{c down}" )
Sleep(1000)
Send ( "{c up}" )
Sleep(100)
While (1)
$Mouse1 = PixelGetColor ( 184, 754 )
$Mouse2 = PixelGetColor ( 184, 754 )
$Mouse3 = PixelGetColor ( 184, 754 )
$Mouse4 = PixelGetColor ( 184, 754 )
$Mouse5 = PixelGetColor ( 184, 754 )
If $Mouse1 = 0x000000 Then
Sleep(10)
MouseMove ( 878, 654 [, speed = 3]
ExitLoop
EndIf
If $Mouse1 = 0x000000 Then
Sleep(10)
MouseMove ( 878, 654 [, speed = 3]
ExitLoop
EndIf
If $Mouse2 = 0x000000 Then
Sleep (10)
MouseMove ( 908, 654 [, speed = 3]
ExitLoop
EndIf
If $Mouse2 = 0x000000 Then
Sleep (10)
MouseMove ( 908, 654 [, speed = 3]
ExitLoop
EndIf
If $Mouse3 = 0x000000 Then
Sleep (10)
MouseMove ( 943, 654 [, speed = 3]
ExitLoop
EndIf
If $Mouse3 = 0x000000 Then
Sleep (10)
MouseMove ( 943, 654 [, speed = 3]
ExitLoop
EndIf
If $Mouse4 = 0x000000 Then
Sleep(10)
MouseMove ( 973, 654 [,speed = 3]
ExitLoop
EndIf
If $Mouse4 = 0x000000 Then
Sleep(10)
MouseMove ( 973, 654 [,speed = 3]
ExitLoop
EndIf
If $Mouse5 = 0x000000 Then
Sleep(10)
MouseMove ( 999, 654 [,speed = 3]
ExitLoop
EndIf
If $Mouse5 = 0x000000 Then
Sleep(10)
MouseMove ( 999, 654 [,speed = 3]
ExitLoop
EndIf
Sleep(500)
Wend
Sleep(2000)
WEnd
Endfunc
Func Ende ()
Exit
EndFunc