← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #255838]: Adding a function to a Region Object

 

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

Description changed to:
Hello,

At the moment I have a function called clickLog that clicks on a
supplied image and wraps a Try Except around the click function and
takes a screenshot if the image cannot be found.

I cannot use this with a region and so have to use region.click

I am just wondering if it would be possible to call region.clickLog,
that is to make that function available to all Region objects? I
understand that in the future there will be the use() method, but am
just curious if the above would be worth pursuing in the meantime?

Thank you,
Ned

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