Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 04:51

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

Advertisement



[Pls Help]AutoIT

Discussion on [Pls Help]AutoIT within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2009
Posts: 518
Received Thanks: 75
[Pls Help]AutoIT

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
Ninjakilla324 is offline  
Old 10/16/2009, 17:32   #2
 
elite*gold: 9
The Black Market: 156/0/0
Join Date: Apr 2009
Posts: 10,163
Received Thanks: 3,804
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)
AllesVergeben is offline  
Thanks
1 User
Old 10/16/2009, 18:05   #3
 
elite*gold: 0
Join Date: May 2009
Posts: 518
Received Thanks: 75
coool^^ hab das iwie anders verstanden^^

THX

EDIT:schreib mir einfach ma (plss) auf wie das dann aussehen würde....
Ninjakilla324 is offline  
Old 10/16/2009, 19:09   #4
 
| Moep |'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,079
Received Thanks: 438
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.
| Moep | is offline  
Reply




All times are GMT +2. The time now is 04:51.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.