sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #50433
[Question #678431]: Settings.setShowActions(True) doesn't work
New question #678431 on Sikuli:
https://answers.launchpad.net/sikuli/+question/678431
Script:
=====
import os, sys, time
sys.path.append(os.path.dirname(os.path.realpath(__file__)) + '/sikulixapi.jar')
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
class Sikuli:
def start_app(self, path, app):
try:
app = App(os.path.join(path, app))
except:
pass
finally:
app = App(os.path.join(path, app))
app.open()
def click_image(self, image, timeout=5):
screen = Screen()
Settings.MinSimilarity = 0.95 << This Line works
Settings.setShowActions(True) << This doesn't show any Effect
screen.wait(image, timeout)
screen.click(image)
Versions:
=======
Jython 2.7.0
SikuliXApi.jar 1.1.4
Windows 10
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.