victor@2: params = sys.argv[1:] victor@2: path=params[0] victor@2: strIMGs="" victor@2: victor@2: click("1415710175004.png") victor@2: wait("1415710207538.png",FOREVER) victor@2: click("1415710242258.png") victor@2: wait("1415710292754.png",FOREVER) victor@2: type(Key.BACKSPACE) victor@2: victor@2: click("1415791421283.png") victor@2: strPath=path.replace("/","\\") victor@2: paste(strPath[:-1]) victor@2: click("1415791723329.png") victor@2: sleep(1) victor@2: type(Key.BACKSPACE) 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("1415791723329.png") victor@2: click("1415710897800.png") victor@2: wait(Pattern("1415711761225.png").similar(0.90),FOREVER) victor@2: click("1415711065949.png") victor@2: wait("1415711940063.png",FOREVER) victor@2: wait(1) victor@2: type(Key.BACKSPACE) victor@2: click("1415791774505.png") victor@2: strOUT=path+"CP.xml" victor@2: strOUT=strOUT.replace("/","\\") victor@2: paste(strOUT) victor@2: click("1415791801451.png") victor@2: if exists("1415700984115.png"): victor@2: click("1415700984115.png") victor@2: if exists("cerrar.png"): victor@2: click("cerrar.png")