← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #233244]: I need to rebuild Sikuli from SourceCode

 

Question #233244 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/233244

    Status: Open => Answered

RaiMan proposed the following answer:
--- I need to add HTML reporting after execution of script.
... sounds like you are using The Jython scripting level
If this is true: adding such features is rather easy, by simply adding some functions, that wrap the click and other methods.

def myClick(target, region = None):
     if not region: region = SCREEN
     region.click(target)
     # now do whatever you want

usage:
reg = myClick(some_image)
myClick(some_other_image, reg.left(100))

--- looking for a feature
If you tell me, what and how you want to report, I can put it on the request list.

BTW: You might as well add your features on the Java level and use them
in the Jython scripts.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.