← Back to team overview

sikuli-driver team mailing list archive

[Question #168160]: Giving me an error in a if

 

New question #168160 on Sikuli:
https://answers.launchpad.net/sikuli/+question/168160

Hello there,
I'm getting an error in my code, and I cant find the error.
I dont have much experience with Sikuli, so please bare with me.

Heres an image of the code:
http://i54.tinypic.com/av0oj7.png

And, a copy og the code:
while true:
	im = find( )
	if im:
		thex = im.getX()
		t1 = Match(thex, im.getY() + 35, im.getW(), im.getH(), 1)
		click(t1)
	else:
		if find( ):
			#WAITING
		else:
			if find( ):
				click( )
			else:
				exit()

Hoping someone can help me.
Thanks.

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