[1.1.4 Jython] Region().highlight() doesn't accept values lower than 1.0
Script:
=====
import os, sys, time
sys.path.
from org.sikuli.script import App
from org.sikuli.script import Screen
from org.sikuli.basics import Settings
from org.sikuli.script import Mouse
from org.sikuli.script import Location
class Sikuli:
def __init__(self):
# Settings.Highlight = False # True - Fires two Times per Action
# Settings.
# Mouse.setMouseM
self.screen = Screen()
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):
if self.mouse_
if self.mouse_
reg = self.screen.
if self.highlight:
Versions:
========
Jython 2.7.0
SikuliXApi.jar Version 1.1.4
Windows 10
Question:
========
The reg.highlight(0.9) throw an Exception:
PS E:\Audio\Audio Installer\
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.python.
WARNING: Please consider reporting this to the maintainers of org.python.
WARNING: Use --illegal-
WARNING: All illegal access operations will be denied in a future release
[log] highlight M[1027,680 74x22]On(0) S 10000 for 0.9 secs
Traceback (most recent call last):
File ".\Ableton.py", line 11, in <module>
sik.
File "..\sikulix.py", line 52, in click_image
reg.
at java.base/
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at java.base/
at java.base/
at java.base/
at java.base/
java.lang.
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.