[1.1.4 Jython] Region().highlight() blocks Screen().click() --- solution
*******
since highlight() (no parameters) is a toggle function, you either have to close the highlight by another highlight() or use the self-closing highlight with a time parameter.
see: https:/
-------
Script:
=====
import os, sys, time
sys.path.
from org.sikuli.script import App
from org.sikuli.script import Screen
from org.sikuli.script import Pattern
from org.sikuli.script import Finder
from org.sikuli.basics import Settings
from org.sikuli.basics import Debug
from org.sikuli.script import Mouse
from org.sikuli.script import Location
class Sikuli:
def __init__(self):
self.screen = Screen()
# Mouse.setMouseM
def app(self, app):
try:
except:
pass
finally:
def app_open(self):
def app_close(self):
def move_offset(self, x, y):
def move(self, x, y):
loc = Location(x, y)
def click_image(self, image, timeout=5):
reg = self.screen.
Versions:
=======
Jython 2.7.0
SikuliXApi.jar Version 1.1.4
Windows 10
Question:
========
The reg.highlight() Line highlights the recognized Image but prevent the self.screen.
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 Dirk Schiller for more information if necessary.