← Back to team overview

sikuli-driver team mailing list archive

[Bug 1816298] Re: [1.1.4] Settings.setShowActions(True) doesn't work

 

** Changed in: sikuli
    Milestone: 1.1.4 => 2.1.0

** Summary changed:

- [1.1.4] Settings.setShowActions(True) doesn't work
+ [check] Settings.setShowActions(True) doesn't work

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1816298

Title:
  [check] Settings.setShowActions(True) doesn't work

Status in Sikuli:
  In Progress

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1816298/+subscriptions


References