victor@2: params = sys.argv[1:] victor@2: path=params[0] victor@2: strIMGs="" victor@2: victor@2: click("1415716688669.png") victor@2: wait("1415716721174.png",FOREVER) victor@2: click("1415716758693.png") victor@2: click("DropDown.png") victor@2: wait("1415716942199.png",FOREVER) victor@2: click("1415716964607.png") victor@2: wait("1415792167505.png",FOREVER) victor@2: click(Pattern("1415963853362.png").targetOffset(45,15)) 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("1415792179506.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: victor@2: paste(strInput) victor@2: click("1415792207078.png") victor@2: rightClick("1415717208007.png") victor@2: click("2014-11-12_11-58-32.png") victor@2: victor@2: sleep(1) victor@2: victor@2: type(Key.BACKSPACE) victor@2: click("1415717913108.png") victor@2: paste(path[:-1]) victor@2: click("1415717515734.png") victor@2: wait("1415718431424.png",FOREVER) victor@2: click("1415792424959.png") victor@2: click("1415718524045.png") victor@2: wait("1415792444947.png",FOREVER) victor@2: type(Key.BACKSPACE) victor@2: click("1415792490785.png") victor@2: newPath=path.replace("/","\\") victor@2: paste(newPath+"AllPages.mro") victor@2: click("1415792510149.png") victor@2: if exists("1417614329432.png"): victor@2: click("1417614361971.png") victor@2: click(Pattern("1415718695577.png").exact()) victor@2: victor@2: wait("1415792536736.png",FOREVER) victor@2: type(Key.BACKSPACE) victor@2: click("1415792587415.png") victor@2: victor@2: strOUT=path+"SE.xml" victor@2: strOUT=strOUT.replace("/","\\") victor@2: paste(strOUT) victor@2: victor@2: click("1415792640839.png") victor@2: if exists("1415792786165.png"): victor@2: click("1415792803049.png") 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: victor@2: victor@2: victor@2: victor@2: victor@2: victor@2: