[Pls Help]AutoIT

10/16/2009 17:20 Ninjakilla324#1
Hallu epvper´s

Ich beschäftige mich seit neusten mit AutoIT und hab auch schon einen Bot gemacht.Doch der geht mir zu langsam^^...

Also "mousemove" geht sauu langsam... könnte mir ma wer zeigen, wie ich in diesem kleinem Ausschnitt meines Bots "mousemove"
schneller machen kann???

PHP Code:
Mouseclick ("right")
    
Sleep(500)
    
Mousemove(653,290)
    
sleep(200)
    
Mouseclick("left")
    
Sleep(200)
    
Mousemove(545,522)
    
sleep(200)
    
Mouseclick("left"
Wäre echt nett!
Gibt auch THX!


MFg
10/16/2009 17:32 AllesVergeben#2
Hier ;):

Quote:
Originally Posted by http://www.autoitscript.com/forum/index.php?showtopic=102153
Function Reference
MouseMove

Moves the mouse pointer.

Code:
MouseMove ( x, y [, speed] )


Parameters
x The screen x coordinate to move the mouse to.
y The screen y coordinate to move the mouse to.
speed [optional] the speed to move the mouse in the range 1 (fastest) to 100 (slowest). A speed of 0 will move the mouse instantly. Default speed is 10.



Return Value
User mouse movement is hindered during a non-instantaneous MouseMove operation.
If MouseCoordMode is relative positioning, numbers may be negative.



Remarks
None.



Related
MouseClick, MouseClickDrag, MouseGetPos, MouseCoordMode (Option)



Example


Code:
MouseMove(10, 100)
MouseMove(700, 700, 0)
10/16/2009 18:05 Ninjakilla324#3
coool^^ hab das iwie anders verstanden^^

THX

EDIT:schreib mir einfach ma (plss) auf wie das dann aussehen würde....
10/16/2009 19:09 | Moep |#4
Quote:
Originally Posted by Ninjakilla324 View Post
coool^^ hab das iwie anders verstanden^^

THX

EDIT:schreib mir einfach ma (plss) auf wie das dann aussehen würde....
Steht doch alles da: A speed of 0 will move the mouse instantly.

Die Parameter in der eckigen Klammer sind immer optional, d.h. falls sie nicht gesetzt werden, wird ein vordefinierter wert genommen (hier 10). Außerdem wird sogar ein Beispiel angegeben wie du die Funktion nutzen musst. Lesen ftw. ;)