victor@2
|
1 params = sys.argv[1:]
|
victor@2
|
2 path=params[0]
|
victor@2
|
3 strIMGs=""
|
victor@2
|
4
|
victor@2
|
5 click("1415716688669.png")
|
victor@2
|
6 wait("1415716721174.png",FOREVER)
|
victor@2
|
7 click("1415716758693.png")
|
victor@2
|
8 click("DropDown.png")
|
victor@2
|
9 wait("1415716942199.png",FOREVER)
|
victor@2
|
10 click("1415716964607.png")
|
victor@2
|
11 wait("1415792167505.png",FOREVER)
|
victor@2
|
12 click(Pattern("1415963853362.png").targetOffset(45,15))
|
victor@2
|
13 type(Key.BACKSPACE)
|
victor@2
|
14 paste(path)
|
victor@2
|
15 click("2014-11-13_13-34-35.png")
|
victor@2
|
16
|
victor@2
|
17
|
victor@2
|
18 click("1415792179506.png")
|
victor@2
|
19
|
victor@2
|
20 for i in range(1,len(params)):
|
victor@2
|
21 strIMGs=strIMGs+" \""+params[i]+"\""
|
victor@2
|
22 strInput=strIMGs
|
victor@2
|
23 strInput=strInput.replace("/","\\")
|
victor@2
|
24
|
victor@2
|
25 paste(strInput)
|
victor@2
|
26 click("1415792207078.png")
|
victor@2
|
27 rightClick("1415717208007.png")
|
victor@2
|
28 click("2014-11-12_11-58-32.png")
|
victor@2
|
29
|
victor@2
|
30 sleep(1)
|
victor@2
|
31
|
victor@2
|
32 type(Key.BACKSPACE)
|
victor@2
|
33 click("1415717913108.png")
|
victor@2
|
34 paste(path[:-1])
|
victor@2
|
35 click("1415717515734.png")
|
victor@2
|
36 wait("1415718431424.png",FOREVER)
|
victor@2
|
37 click("1415792424959.png")
|
victor@2
|
38 click("1415718524045.png")
|
victor@2
|
39 wait("1415792444947.png",FOREVER)
|
victor@2
|
40 type(Key.BACKSPACE)
|
victor@2
|
41 click("1415792490785.png")
|
victor@2
|
42 newPath=path.replace("/","\\")
|
victor@2
|
43 paste(newPath+"AllPages.mro")
|
victor@2
|
44 click("1415792510149.png")
|
victor@2
|
45 if exists("1417614329432.png"):
|
victor@2
|
46 click("1417614361971.png")
|
victor@2
|
47 click(Pattern("1415718695577.png").exact())
|
victor@2
|
48
|
victor@2
|
49 wait("1415792536736.png",FOREVER)
|
victor@2
|
50 type(Key.BACKSPACE)
|
victor@2
|
51 click("1415792587415.png")
|
victor@2
|
52
|
victor@2
|
53 strOUT=path+"SE.xml"
|
victor@2
|
54 strOUT=strOUT.replace("/","\\")
|
victor@2
|
55 paste(strOUT)
|
victor@2
|
56
|
victor@2
|
57 click("1415792640839.png")
|
victor@2
|
58 if exists("1415792786165.png"):
|
victor@2
|
59 click("1415792803049.png")
|
victor@2
|
60
|
victor@2
|
61 if exists("1415700984115.png"):
|
victor@2
|
62 click("1415700984115.png")
|
victor@2
|
63 if exists("cerrar.png"):
|
victor@2
|
64 click("cerrar.png")
|
victor@2
|
65
|
victor@2
|
66
|
victor@2
|
67
|
victor@2
|
68
|
victor@2
|
69
|
victor@2
|
70
|
victor@2
|
71
|