victor@2: params = sys.argv[1:] victor@2: path=params[0] victor@2: strIMGs="" victor@2: victor@2: click("1415701611441.png") victor@2: wait("1415701865784.png",FOREVER) victor@2: click("1415701911562.png") victor@2: wait("1415701967254.png",FOREVER) victor@2: click("1415702019016.png") victor@2: wait("1415792857317.png",FOREVER) victor@2: victor@2: click(Pattern("1415963913666.png").targetOffset(47,13)) victor@2: #click("1415885604725.png") victor@2: type(Key.BACKSPACE) victor@2: paste(path) victor@2: click("2014-11-13_13-34-35.png") victor@2: victor@2: victor@2: click("1415792869010.png") victor@2: victor@2: for i in range(1,len(params)): victor@2: strIMGs=strIMGs+" \""+params[i]+"\"" victor@2: strInput=strIMGs victor@2: strInput=strInput.replace("/","\\") victor@2: paste(strInput) victor@2: click("1415792905305.png") victor@2: click("1415702225757.png") victor@2: wait("1415792946298.png",FOREVER) victor@2: wait(1) victor@2: type(Key.BACKSPACE) victor@2: click("1415792965001.png") victor@2: strOUT=path+"SS.xml" victor@2: strOUT=strOUT.replace("/","\\") victor@2: paste(strOUT) victor@2: click("1415798023757.png") victor@2: click("select.png") victor@2: click("1415793010197.png") victor@2: wait(1) victor@2: if exists("1416922791607.png"): victor@2: wait(1) victor@2: if exists("1416922791607.png"): victor@2: wait(1) victor@2: if exists("1416922791607.png"): victor@2: wait(1) victor@2: victor@2: if exists("1415700984115.png"): victor@2: click("1415700984115.png") victor@2: if exists("cerrar.png"): victor@2: click("cerrar.png") victor@2: if exists("1415798271832.png"): victor@2: click("1415706040951.png") victor@2: victor@2: victor@2: victor@2: victor@2: victor@2: