sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #28810
[Question #255838]: Adding a function to a Region Object
New question #255838 on Sikuli:
https://answers.launchpad.net/sikuli/+question/255838
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 is possible to be able 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.