← Back to team overview

sikuli-driver team mailing list archive

[Question #394821]: send image as parameter to a function

 

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

Hello,
This is my first experience with sikuli , so far having fun with it.

I would like to write a simple function that accept an image as parameter and use it in function for simple task like click.
it sounds like an easy task to accomplish but can get it run.


should be somthing like:

def doSomthing(image):
     image.click( )    # or any other command to click this object on screen
     return;


doSomthing("xyz.png") 


Please help 
il

 

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