← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #200244]: __main__ changes after using Region.spatialOperators() (right(), below(), ...)

 

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

RaiMan posted a new comment:
Thanks for feedback: Since you are j-the-k, I already thought about that
background ;-)

But this is much easier if you only want to overwrite the unqualified
method calls:

from sikuli import *

def type(text): # overwrites the name "type" in the global table
     # some coding
     SCREEN.type(some_text) # uses the Screen method

saying 
type ("this is my own thing")

this will work fine.

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