sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #44642
Re: [Question #661046]: How to reuse the code in sikuli
Question #661046 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661046
masuo proposed the following answer:
Sorry I made some typo.
def func001(): # <---- modify func001 ==> func001()
hover("1511773804916.png")
click("1511773811501.png") # <---- modify Click ==> click
wait(5)
hover("1511773854020.png")
click("1511773872796.png")
print("Message : Function is called..")
#Example when you want to use func001 10 times
for no in range(10):
func001()
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.