victor@2
|
1 params = sys.argv[1:]
|
victor@2
|
2 path=params[0]
|
victor@2
|
3 strIMGs=""
|
victor@2
|
4
|
victor@2
|
5 click("1415626157985.png")
|
victor@2
|
6 wait("1415626436439.png",FOREVER)
|
victor@2
|
7 type("o", KeyModifier.CTRL)
|
victor@2
|
8 wait("1415791940762.png",FOREVER)
|
victor@2
|
9 #click("1415882981586.png")
|
victor@2
|
10 click(Pattern("1415963511508.png").targetOffset(45,14))
|
victor@2
|
11 type(Key.BACKSPACE)
|
victor@2
|
12 paste(path)
|
victor@2
|
13 click("2014-11-13_12-53-25.png")
|
victor@2
|
14 click("1415791956757.png")
|
victor@2
|
15
|
victor@2
|
16 for i in range(1,len(params)):
|
victor@2
|
17 strIMGs=strIMGs+" \""+params[i]+"\""
|
victor@2
|
18 strInput=strIMGs
|
victor@2
|
19 strInput=strInput.replace("/","\\")
|
victor@2
|
20
|
victor@2
|
21 paste(strInput)
|
victor@2
|
22 click("1415791980822.png")
|
victor@2
|
23
|
victor@2
|
24 wait("1415628223695.png",FOREVER)
|
victor@2
|
25
|
victor@2
|
26 if(len(params)==3):
|
victor@2
|
27 wait(Pattern("1415785439675.png").exact(),FOREVER)
|
victor@2
|
28 if(len(params)==4):
|
victor@2
|
29 wait(Pattern("1415785928359.png").exact(),FOREVER)
|
victor@2
|
30 if(len(params)==5):
|
victor@2
|
31 wait(Pattern("1415786066894.png").exact(),FOREVER)
|
victor@2
|
32 if(len(params)==6):
|
victor@2
|
33 wait(Pattern("1415876625654.png").exact(),FOREVER)
|
victor@2
|
34 if(len(params)==7):
|
victor@2
|
35 wait(Pattern("1415876704875.png").exact(),FOREVER)
|
victor@2
|
36 if(len(params)==8):
|
victor@2
|
37 wait(Pattern("1415876822838.png").exact(),FOREVER)
|
victor@2
|
38 if(len(params)==9):
|
victor@2
|
39 wait(Pattern("1415876912038.png").exact(),FOREVER)
|
victor@2
|
40 if(len(params)==10):
|
victor@2
|
41 wait(Pattern("1416238736460.png").exact(),FOREVER)
|
victor@2
|
42 if(len(params)==11):
|
victor@2
|
43 wait(Pattern("1416238784250.png").exact(),FOREVER)
|
victor@2
|
44 if(len(params)==12):
|
victor@2
|
45 wait(Pattern("1416239106139.png").exact(),FOREVER)
|
victor@2
|
46 if(len(params)==13):
|
victor@2
|
47 wait(Pattern("1416239184735.png").exact(),FOREVER)
|
victor@2
|
48 if(len(params)==14):
|
victor@2
|
49 wait(Pattern("1417434097757.png").exact(),FOREVER)
|
victor@2
|
50
|
victor@2
|
51
|
victor@2
|
52 click("1415628257531.png")
|
victor@2
|
53 wait("1415792044614.png",FOREVER)
|
victor@2
|
54 type(Key.BACKSPACE)
|
victor@2
|
55 click("1415792076797.png")
|
victor@2
|
56 strOUT=path+"PS.xml"
|
victor@2
|
57 strOUT=strOUT.replace("/","\\")
|
victor@2
|
58 paste(strOUT)
|
victor@2
|
59 click("1415792095379.png")
|
victor@2
|
60 if exists("1415700984115.png"):
|
victor@2
|
61 click("1415700984115.png")
|
victor@2
|
62 if exists("cerrar.png"):
|
victor@2
|
63 click("cerrar.png")
|
victor@2
|
64
|
victor@2
|
65
|