← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #680679]: SikuliXIDE; Mojave; Robot Framework: How does one get Region objects to work in Jython functions that are passed in from Robot Framework

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
In a function where you get a string instead of an objec from RFWt,
simply say

region = eval(regionString)

Take care, that the string contains something, that is valid Python!

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