AutoIT. Error parsing function call.

08/14/2015 05:08 OnlyGood#1
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
08/14/2015 05:13 summoner01#2
Change:

Code:
MouseMove (878, 654, 3)
MouseMove (878, 654, 3)

MouseMove (908, 654, 3)
MouseMove (908, 654, 3)

MouseMove (943, 654, 3)
MouseMove (943, 654, 3)

MouseMove (973, 654, 3)
MouseMove (973, 654, 3)

MouseMove (999, 654, 3)
MouseMove (999, 654, 3)
Do this for every mouse move.
08/14/2015 05:18 OnlyGood#3
Ty. I will try it.

It works. Ty.
08/28/2015 09:15 Lawliet#4
#closed