Unable to use Finder with Jython where Screen works OK
I have a Jython2.7 Project setup in Eclipse
eclipse.PYTHONPATH in IDE set to:
( "C:\sikulix\
"C:
Using sikulix 1.1.2-20180113.
Here is my code:
# Run and Debug as JYTHON
# Note: for any jython sikuli, use sikulixapi.jar NOT sikulix.jar
import org.sikuli.
from org.sikuli.script import Region, Finder
if __name__ == "__main__":
# imageview = Region(
imageview = Finder(
topLeft = imageview.
topRight = imageview.
pass
I get things to work fine when using "Region(
when I try to use Finder, then both topLeft, and topRight always end up with
unicode str that is like "C:\...
I have also tried findAll() as well as find().
Any ideas what the issue may be?
Many thanks,
forrest
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask forrest for more information if necessary.