I've a question, i've downloaded an UDF for fast mouse click, But i want a faster mouseclick. So my question is: is better do only a Mouseclick or do a Mousemove and then MouseDown("left") ?
I've done test with timers, but sometimes is better mouseclick and sometimes mousemove+down.
It's up to you what to do. I wouldn't care if its just 100-105ms.
100 ms are deadly in that what he does
Fuso:
Create a script with some ways of code implementation and let it run all tests 100 times in a do.. until (with timers). Then calculate the average of each way and see whats the best
and do some code optimizing in your bot.
Mayby you can do something like :
Code:
$i+=1
and short all code and variables
(But i thing your obfuscator will destroy your fast code)
Mousemove & Mouseclick 11/10/2013 - AutoIt - 6 Replies Hallo, wollte gerade nen Bot schreiben, wo Grüne Tiere da rumlaufen,
alles geklappt bis zum Mousemove, der geht auch mit der Maus auf das grüne Tier, bloß wie kombiniere ich das mit einen Klick.
Wie baue ich eine Startfunktion + Pausefunktion ein?
HotKeySet("{F6}","_Exit")
while 1
$variable = pixelsearch(37,123,1356,751,Farbe wird öfters (selber) definiert)
pixelSearch; mouseMove while mouseDown 06/23/2013 - AutoIt - 3 Replies hei,
i want to know how to create a script, that detects a specific colour, which the mouse follows, WHILE holding "rightclick" UNTIL the specific colour disappears.
Lets say your mouse detects a red square, follows it, while holding "rightclick" down. then after a while the square disappears and the mouse stops holding "rightclick".
greetings.
Mousedown/Mouseup 03/10/2013 - AutoIt - 5 Replies Hallo epvp,
und zwar möchte ich ein Programm schreiben, welches so eine Funktion benötigt
if mousedown then alle_100_ms_linke_maustaste_drücken until mouseup
Jedoch ist mir bei Autoit keine Abfrage bekannt die überprüfen kann ob die linke maustaste unten oder oben ist.
Deshalb ist meine Frage ob jemand so eine Funktion kennt oder eine andere Methode mit der sowas realisierbar ist.
in Oblivion MouseMove()/MouseClick() doesnt work 05/29/2010 - AutoIt - 10 Replies as the title says it MouseMove and MouseClick functions dont work for the game i need it (The Elder Scrolls 4: Oblivion)
actually MouseClick does work, but only if i dont use coordinates i.e. MouseClick("left")
my guess is that the mouseclick funktion in autoit is moving the mouse by calling MouseMove()
so i'd really just need to find another way to move the mouse
MouseMove() as well as mouseclick("left",x,y) makes the mouse jump to one of the 4 corners of the game window
(same problem...