← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #659555]: Dealing with Multiple onAppear images using background observe and region

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
in the def's you have to add
global InAction
as first line

to tell Python, that inAction is the variable in the global scope.

in Python a def has its own variable scope.

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