sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #34627
Re: [Question #271443]: How can I input a number and accept it as an integer in sikuli?
Question #271443 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/271443
Status: Answered => Open
Jenelle is still having a problem:
x= input("Input 1st Number:")
y= input("Input 2nd Number:")
op= input("choose operation to be used: + - * /")
if x == "1":
click("1442372005556.png")
if x == "2":
click("1442372023449.png")
if x == "3":
click("1442372434642.png")
if x == "4":
click("1442372451565.png")
if x == "5":
click("1442372460538.png")
if x == "6":
click("1442372475324.png")
if x == "7":
click("1442372486937.png")
if x == "8":
click("1442372506844.png")
if x == "9":
click("1442372515627.png")
if x == "0":
click("1442372522700.png")
/*opeationr to be used + - * / */
if op == "+":
click("1442457788556.png")
if op == "-":
click("1442457811305.png")
if op == "*":
click("1442457824868.png")
if op == "/":
click("1442457838430.png")
if y == "1":
click("1442372005556.png")
if y == "2":
click("1442372023449.png")
if y == "3":
click("1442372434642.png")
if y == "4":
click("1442372451565.png")
if y == "5":
click("1442372460538.png")
if y == "6":
click("1442372475324.png")
if y == "7":
click("1442372486937.png")
if y == "8":
click("1442372506844.png")
if y == "9":
click("1442372515627.png")
if y == "0":
click("1442372522700.png")
click("1442457857653.png") /*equal sign image
----so this is my codes looks like. And my problem here now is... I
can't manipulate a number that composed of more than 1 digit :( Im so
sorry, this is my first time using sikuli. I can't even find answers in
google. :'( Im so desperate right now. tho I really want to learn this
thing. thank you
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.