sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #44591
Re: [Question #661046]: How to reuse the code in sikuli
Question #661046 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661046
Status: Open => Answered
masuo proposed the following answer:
define a function with codes that you want to reuse.
def func001:
Click("image01.png")
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.