[1.1.14 Jython] Settings.setShowActions(True) doesn't work

Asked by Dirk Schiller on 2019-02-08

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

Question information

Language:
English Edit question
Status:
Open
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2019-02-08
Last reply:

Can you help with this problem?

Provide an answer of your own, or ask Dirk Schiller for more information if necessary.

To post a message you must log in.