[1.1.4] Region().highlight() doesn't accept values lower than 1.0 --- fixed 2019-02-09 build #192
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Released
|
Critical
|
RaiMan |
Bug Description
*******
see: https:/
--- minimum highlight time is 100 msecs
--- after closing a highlight, we wait at least 300 msecs to give the GUI some time for the next actions
--- for highlight times > 500 msecs the wait-after-
-------
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.
Changed in sikuli: | |
status: | New → Fix Committed |
importance: | Undecided → Critical |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.4 |
summary: |
- [1.1.4] Region().highlight() doesn't accept values lower than 1.0 + [1.1.4] Region().highlight() doesn't accept values lower than 1.0 --- + fixed 2019-02-09 build #192 |
description: | updated |
Changed in sikuli: | |
status: | Fix Committed → Fix Released |
milestone: | 1.1.4 → 2.0.0 |