← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #692511]: project extending SikuliX functionality

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
not really.

your mySikuli.py only must contain your extending classes/methods and
your version of __exposeAllMethods(...), that registers your methods
globally, that are intended to be used undotted.

In a main script you then need at the top:
from mySikuli import *

and in imported script it must be
from sikuli import *
from mySikuli import *

Sikuli.py actually cannot be modified, because it is replaced with a
fish copy from the jar with every start of the IDE.

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