← Back to team overview

sikuli-driver team mailing list archive

[Question #634573]: How to call same image multiple times

 

New question #634573 on Sikuli:
https://answers.launchpad.net/sikuli/+question/634573

Hi,

How can i call and click the same image in multiple places.

#My Script

click(xyz.png)
#Code to execute 5 steps
code for step 1 
code for step 2
code for step 3
code for step 4
code for step 5
####
click(xyz.png)
##Code to execute multiple steps
code for step 1 
step 2
step 3
step 4
step 5
click(xyz.png)


In this code i have used click image xyz.png 3 times . Is there anyway i can assign this image to a value and keep calling that value (click.value)multiple times.I am new to Sikuli and Python as well.

Please help.

Thanks in Advance!

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.