location = Location(int(sys.argv[1]),int(sys.argv[2])) click(location) #findAll("1492761928555.png") #mm = SCREEN.getLastMatches() #while mm.hasNext(): # loop as long there is a first and more matches # TekMatch = mm.next() # print "found: ", TekMatch # access the next match in the row # location = TekMatch.getTarget() # print "match",";",location.x,";",location.y # click(location) # sleep(1) # print mm.x # t1= capture(mm.getX(), mm.getY(), mm.getW(), mm.getH())