← Back to team overview

sikuli-driver team mailing list archive

[Question #140390]: Sikuli X: NEW: Delay between clicks now is 1 sec - need 0 sec as in 10.2

 

Question #140390 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/140390

Summary changed to:
Sikuli X: NEW: Delay between clicks now is 1 sec - need 0 sec as in 10.2

Description changed to:
Self-answered question. Maybe someone will search for this.

So, I'm using for application testing purposes the script generating
random clicks in area

The code:
==========
def random_clicks(n):
	for i in range(n):
		x = random.randint(0,384)
		y = random.randint(0,502)
		click(mouseloc.right(x).below(y))
		wait(0.01)
==========

When I upgraded from Sikuli 10.2 for Mac to Sikuli-X RC1, I got
significant speed drop - the script worked like in "Slow" mode.

The reason I found in the docs: the new "Slow Motion Mode":
http://sikuli.org/docx/globals.html#Settings.MoveMouseDelay

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.