sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #12312
Re: [Question #204853]: if... : go to
Question #204853 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204853
Status: Needs information => Open
elias maure gave more information on the question:
1bfrage = input( "wo wollen sie sin einloggen :D?")
2if abfrage ==(""):
3 mach = exists("1343748545312.png")
4 tofu = exists(Pattern("1343859558059.png").similar(0.84) )
5 wait(Pattern("1343859558059.png").similar(0.84) ,60)
6 click(Pattern("1343859558059.png").similar(0.84) )
7 ich = exists("Fl.png")
8 wait(3)
9 los = exists(Pattern("Los.png").similar(0.69))
10 if los :
11 click(Pattern("Los.png").similar(0.69))
12 pfeil = exists("1343744873771.png")
13 los = exists(Pattern("Los.png").similar(0.69))
14 if los : #anfang kampf
15 click(Pattern("Los.png").similar(0.69))
16 wait("1343748545312.png",80)
17 boden = exists("1343775508977.png")
18 if boden :
19 click("1343775508977.png")
20 click("1343821407180.png")
21 click("Fl.png")
22 hover(Pattern("KLL.png").similar(0.66))
23 click("1343744873771.png")
24 zahler1 = 60
25 gegner = find(Pattern("1343818418636.png").similar(0.77))
26 click(gegner.left(zahler1))
27 hinderniss = exists("DerZauberspr-2.png")
28 if hinderniss :
29 hover(Pattern("KLL.png").similar(0.66))
30 click("1343744873771.png")
31 zahler2 = 200
32 gegner = find(Pattern("1343818418636.png").similar(0.77))
33 click(gegner.left(zahler2))
34 if hinderniss :
35 hover(Pattern("KLL.png").similar(0.66))
36 click("1343744873771.png")
37 zahler3 = 280
38 gegner = find(Pattern("1343818418636.png").similar(0.77))
39 click(gegner.left(zahler3))
40 wait(1)
41 geg = exists(Pattern("1343856204483.png").exact())
42
43 if geg:
44 # if geg not finde then go line 1
45
46 hover(Pattern("KLL.png").similar(0.66))
47
48
49 click("inQN.png")
50
51 zahler1 = 60
52 gegner = find(Pattern("1343818418636.png").similar(0.77))
53 click(gegner.left(zahler1))
54 zahler1 += 60
55 wait(1)
56 if geg:
57 hover(Pattern("KLL.png").similar(0.66))
58
59 click("qs.png")
60
wait("1343755222487.png",60)
wait(1)
if geg:
click("1343744873771.png")
zahler1 = 60
gegner = find(Pattern("1343818418636.png").similar(0.77))
click(gegner.left(zahler1))
zahler1 += 60
wait (0,5)
wait(1)
if geg:
hover(Pattern("KLL.png").similar(0.66))
click("inQN.png")
zahler1 = 60
gegner = find(Pattern("1343818418636.png").similar(0.77))
click(gegner.left(zahler1))
zahler1 += 60
wait (1)
if geg:
hover(Pattern("KLL.png").similar(0.66))
click("qs.png")
wait("1343755222487.png",60)
click("1343744873771.png")
zahler1 = 60
gegner = find(Pattern("1343818418636.png").similar(0.77))
click(gegner.left(zahler1))
zahler1 += 60
wait (1)
if geg:
hover(Pattern("KLL.png").similar(0.66))
click("inQN.png")
zahler1 = 60
gegner = find(Pattern("1343818418636.png").similar(0.77))
click(gegner.left(zahler1))
zahler1 += 60
wait (1)
if geg:
hover(Pattern("KLL.png").similar(0.66))
click("qs.png")
wait("1343755222487.png",80)
click("1343744873771.png")
zahler1 = 60
gegner = find(Pattern("1343818418636.png").similar(0.77))
click(gegner.left(zahler1))
zahler1 += 60
wait (1)
hover(Pattern("KLL.png").similar(0.66))
click("inQN.png")
zahler1 = 60
gegner = find(Pattern("1343818418636.png").similar(0.77))
click(gegner.left(zahler1))
zahler1 += 60
wait (1)
click("qs.png")
thats my text :/
look at line 44
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.