Re: [Sikuli-driver] [Question #689295]: sikulix always points to a different point

2020-03-13 Thread 梅田香代子
Question #689295 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689295

梅田香代子 confirmed that the question is solved:
Thanks RaiMan, that solved my question.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689295]: sikulix always points to a different point

2020-03-13 Thread 梅田香代子
Question #689295 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689295

Status: Answered => Solved

梅田香代子 confirmed that the question is solved:
Dear RaiMan

Thank you for your advice.

I tried to output the log and checked it, it seemed that a bug occurred
here as well.

"
[2342 debug] IDE startup:  2.3 seconds *** Running on Java 9+
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x7fffeb0cfd3e, pid=12236, 
tid=6092
#
# JRE version: Java(TM) SE Runtime Environment (11.0.6+8) (build 11.0.6+8-LTS)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0.6+8-LTS, mixed mode, tiered, 
compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# C  [awt.dll+0x8fd3e]

"

I thought that it was incompatible, I tried with OpenJDK version 10, but
that was also bad (it stops again with another error in the middle of
processing)


finally, I tried it with OpenJDK version 11, and it worked! ! !
The mouse moves as I wish.


I did not think that the behavior changed so much with the JAVA version.
Thanks to you.

The following environment was found to be stable for me.

system-> Windows10(japanese)
SikuliX-> sikulix 2.0.3
java-> jdk-11


Thank you for your time!

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1864687] Re: import of helper file is cached and not updated

2020-03-13 Thread loko soul
Same error are in my website of https://bestmenscologne2020.com/ how to
get rid from it?

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

Title:
  import of helper file is cached and not updated

Status in Sikuli:
  Invalid

Bug description:
  I just start using Sikulix and I just have a simple Main.py file and a
  second Helper.py. If I Run my code from my Main file Sikulix does not
  use my last version of Helper.py (even if I save). It's like is using
  some cache of it. If I close and open Sikulix and try to Run it will
  work as expected.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689302]: How to set the screen of a new region

2020-03-13 Thread RaiMan
Question #689302 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689302

RaiMan posted a new comment:
sorry, was interrupted and hit enter accidentally ;-)

And multi-screen is only defined for local screens.

Non-local screens are simply  said a design and implementation accident
;-)

... and the Screen class will vanish anyways beginning with 2.1.0

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689302]: How to set the screen of a new region

2020-03-13 Thread RaiMan
Question #689302 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689302

RaiMan posted a new comment:
You are principally right.

... but though public, these methods are only for internal use.

You would not need these methods, if you use, what is documented as
mentioned above.

And multi-screen is

The Screen class anyways is only a historical ghost monster, that would
not be there if SikuliX would start today.

... sorry for the VNC implementation, which is in a state of some years ago 
(based on some contributions).
This currently is not my priority.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689304]: popups on wrong screen

2020-03-13 Thread RaiMan
Question #689304 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689304

Status: Open => Answered

RaiMan proposed the following answer:
made some quick tests with a 2 monitor setup in Windows 10:

if nothing else is said, the the Do.pop... features are always shown on
the primary monitor (Python: SCREEN or Screen(0)), which has the point
(0, 0) in the global coordinate system.

BTW:
result = Do.popError("", "Unable to Launch the dashboard-retsrate is required", 
"", False, 3)

should be

result = Do.popError("Unable to Launch the dashboard\nretsrate is
required",  3)

the first string is the message shown in the box, the second parameter
is the title of the box.

if you want to have a Do.pop... on a specific of your screens:

result = Do.popError("", "Unable to Launch the dashboard-retsrate is
required", "", False, 3, Screen(1))

which would display the popup on the first not-primary monitor.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689302]: How to set the screen of a new region

2020-03-13 Thread Glenn Tanner
Question #689302 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689302

Glenn Tanner posted a new comment:
Understood, but i wouldn't call this special as multi screens are
supported and "your" copy of documentation leaves out the 5th pram which
is IScreen. If you could update the Region section to have included
Region(x,y,w,h,[screen]) then this would have not been a question.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689302]: How to set the screen of a new region

2020-03-13 Thread RaiMan
Question #689302 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689302

RaiMan posted a new comment:
Interesting ;-) but not my effort.

It is true, that not all special features are documented. To see
everything, that might be of interest, the javadocs might help.

There might be also some valuable hints here also for the VNC situation:
https://sikulix-2014.readthedocs.io/en/latest/screen.html#connecting-to-a-vnc-server-vncscreen

... and here are some helpers doc'ed also:
https://sikulix-2014.readthedocs.io/en/latest/region.html#extend-regions-and-create-new-regions-based-on-existing-regions

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689302]: How to set the screen of a new region

2020-03-13 Thread Glenn Tanner
Question #689302 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689302

Status: Open => Solved

Glenn Tanner confirmed that the question is solved:
RESOLVED:

After searching for copyTo found
"https://www.codota.com/code/java/classes/org.sikuli.script.Region;
which showed the region is created with IScreen as the 5th param;
however this is not in the main documentation.

R = Region(M.x, M.y, M.w, M.h, SUT['screen'])
R[903,583 105x79]@S(VNC 13.1.18.55:5900)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689302]: How to set the screen of a new region

2020-03-13 Thread Glenn Tanner
Question #689302 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689302

Status: Answered => Open

Glenn Tanner is still having a problem:
It was more about quick values. I want to findText in a nearby region. I
dont see where copyTo is documented.

R = Region(M.x-20, M.y+100, M.w+100, M.h+50) # need to be on VNC screen OR 
Screen(n) which is saved in SUT['screen'] = SCREEN || vncStart.
R.findText("some value")

so would this work?

R = Region(M.x-20, M.y+100, M.w+100, M.h+50)
R.copyTo(vncScreen) # case 1
R.copyTo(SCREEN) # case 2
R.copyTo(Screen(2)) # case 3

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689302]: How to set the screen of a new region

2020-03-13 Thread RaiMan
Question #689302 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689302

Status: Open => Answered

RaiMan proposed the following answer:
As far as I understand from your code snippet:

you have a match from a VNC-screen, that you want to use as Region on
the local Screen(2).

If this is true, then try this:

R = M.copyTo(Screen(2))

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #689304]: popups on wrong screen

2020-03-13 Thread muni
New question #689304 on Sikuli:
https://answers.launchpad.net/sikuli/+question/689304

I have a issue with popups show in a different screen rather than defined.
I have two screen 1 and 2
popups always popup in the screen 2 or vice versa. could you please assist me 
if iam missing anything in specific here??

import shutil
import os
import subprocess
scr1=Screen(0)
scr1.find("1582743393321-3.png")
itracapp = App(r'C:\Program Files (x86)\Deutsche Bank\Autobahn Toolbar 
(UAT)\AutobahnBootstrapper.exe')
#subprocess.call(r'C:\Program Files (x86)\Deutsche Bank\Autobahn Toolbar 
(UAT)\AutobahnBootstrapper.exe')
itracapp.open()
itracapp.focus()
searchbar = exists("1583244105302-2.png")
if exists("1583244105302-2.png"):
click("1583244159790-2.png")
type('itrac dashboard'+ Key.ENTER)
else:

wait("toolbar3-2.png",60)
wait(2)
appicon=findAll(Pattern("1582824632346-3.png").similar(0.82))
 
click(Pattern("1582730255577-3.png").targetOffset(-1,-5))
wait(2)

wait(Pattern("1582730978402-3.png").similar(0.86),10)

#def startitrac():
searchbar = find(Pattern("1582730978402-3.png").similar(0.85))

click(Pattern("1582730978402-3.png").similar(0.85).targetOffset(-94,1))
type('itrac dashboard'+ Key.ENTER)
#wait(13)
where = Region(0,0,546,303)   
launcherissue = exists(Pattern("1582814114669-3.png").similar(0.81),15)
#itracapp.focus(iTrac Dashboard,[1])
while exists(Pattern("1582814114669-3.png").similar(0.81)):  
#itracapp.focus(iTrac Dashboard,[1])
wait(2)
#
where = Region(525,488,733,241)
result = Do.popError("", "Unable to Launch the dashboard-retsrate is 
required", "", False, 3)
click("1582821885318-3.png")
wait(2)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689302]: How to set the screen of a new region

2020-03-13 Thread Glenn Tanner
Question #689302 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689302

Glenn Tanner posted a new comment:
After further reading. It seems newRegion needs to be added to the
screen class globally.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #689302]: How to set the screen of a new region

2020-03-13 Thread Glenn Tanner
New question #689302 on Sikuli:
https://answers.launchpad.net/sikuli/+question/689302

When I create a region, i want to set the screen of that region. I can only 
find a getScreen option for the region 
https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.getScreen. 
Just a moment ago i found vnc.newRegion() which creates a region with the 
screen defined, but if I want the screen to be screen(2) for the region I still 
do not see a way to accomplish that. For the sake of consistency, perhaps there 
is argument to be made that vnc.newRegion should be vnc.Region.

M = SUT['screen'].wait("Main_profile.png",g.waitDelay)
print M
R = Region(M.x, M.y, M.w, M.h)
print R
R2 = SUT['screen'].newRegion(M.x, M.y, M.w, M.h)
print R2

M[903,583 105x79]@S(VNC 13.1.18.55:5900) S:0.99 C:955,622 [723 msec]
R[903,583 105x79]@S(0)
R[903,583 105x79]@S(VNC 13.1.18.55:5900)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689295]: sikulix always points to a different point

2020-03-13 Thread RaiMan
Question #689295 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689295

Status: Open => Answered

RaiMan proposed the following answer:
run from commandline

\java.exe  -jar \sikulix-2.0.3.jar -v -c

to get some startup log.

Take car that nothing else but Java  11 stuff is referenced (Systempath,
environment, ...)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689295]: sikulix always points to a different point

2020-03-13 Thread 梅田香代子
Question #689295 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689295

Status: Answered => Open

梅田香代子 is still having a problem:
Dear RaiMan

Thank you for useful information!!
Exactly, this bug seems to apply!

However, after installing 11.0.6 jdk and running sikulix,
An error file with the PID was output, and startup failed...


Is any command operation necessary?

I'm afraid that it will be another problem,
Please tell me more if you know about it.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689296]: type(Key.F4, Key_ALT) is throwing an error

2020-03-13 Thread Manfred Hampl
Question #689296 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689296

Status: Open => Answered

Manfred Hampl proposed the following answer:
Read the documentation and check your error message.

https://sikulix-2014.readthedocs.io/en/latest/keys.html#key-modifiers-modifier-keys
For parameter 2 there are 2 options:
•new version: (a key is a key ;-): Key.XXX
•old version (kept for upwards compatibility): KeyModifier.XXX
… and these early versions should not be used anymore KEY_ALT, KEY_CTRL, 
KEY_SHIFT, KEY_WIN, KEY_CMD, KEY_META

Key_ALT has never existed.
Use Key.ALT instead.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689296]: type(Key.F4, Key_ALT) is throwing an error

2020-03-13 Thread Sneha
Question #689296 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689296

Summary changed to:
type(Key.F4, Key_ALT) is throwing an error

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #689296]: type(Key.F4, Key_ALT) is not working

2020-03-13 Thread Sneha
New question #689296 on Sikuli:
https://answers.launchpad.net/sikuli/+question/689296

For closing a window using Sikuli, type(Key.F4, KEY_ALT) throws me Name error 
(name Key_ALT is not defined)

Can someone help me out?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689295]: sikulix always points to a different point

2020-03-13 Thread RaiMan
Question #689295 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689295

Status: Needs information => Answered

RaiMan proposed the following answer:
then this might be relevant:

https://bugs.launchpad.net/sikuli/+bug/1730645

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #688961]: about onChange() function

2020-03-13 Thread larryli
Question #688961 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688961

larryli posted a new comment:
Oh, sorry, I can understand it

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689295]: sikulix always points to a different point

2020-03-13 Thread 梅田香代子
Question #689295 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689295

梅田香代子 posted a new comment:
Dear RaiMan

Thank you for your reply!

Below is my environment

system-> Windows10(japanese)
SikuliX-> sikulix 2.0.3
java-> jre-8u241-windows-x64


Please let me know if anything is missing.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #688961]: about onChange() function

2020-03-13 Thread RaiMan
Question #688961 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688961

RaiMan posted a new comment:
If you refer to the SikuliX source code in findChanges:

be aware:
  Imgproc.cvtColor(findInput.getBase(), previousGray, toGray);
  Imgproc.cvtColor(findInput.getTarget(), nextGray, toGray);
  Core.absdiff(previousGray, nextGray, mDiffAbs);
  Imgproc.threshold(mDiffAbs, mDiffTresh, PIXEL_DIFF_THRESHOLD, 0.0, 
Imgproc.THRESH_TOZERO);

... mDiffAbs and hence mDiffTresh is grey (only one layer)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689007]: Running IDE as Admin

2020-03-13 Thread Launchpad Janitor
Question #689007 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689007

Status: Needs information => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Needs information'
state without activity for the last 15 days.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1797505] Re: [1.1.4] Windows special versions N/KN: can't find dependent libraries with opencv_java342.dll --- workaround

2020-03-13 Thread Shresth Suman
I was having the same problem on my machine - 
Sikulix - 1.1.4
Windows 10 Enterprise  N LTSC

Solution - Download Media Feature Pack for N versions of Windows 10
https://www.microsoft.com/en-us/software-download/mediafeaturepack
PS - restart after installation.

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

Title:
  [1.1.4] Windows special versions N/KN: can't find dependent libraries
  with opencv_java342.dll --- workaround

Status in Sikuli:
  Won't Fix

Bug description:
  *** workaround
  the N and KN versions come without a bunch of media related libraries.
  This apparently makes it impossible to use OpenCV.

  So use a normal Windows version or install the available media package
  from Microsoft.

  --- a solution from comment #14:
  I had this problem on Windows Server 2012 R2 and solved it by installing 
Desktop Experience from Control Panel.
  --

  [error] RunTimeIDE: opencv_java342.dll loaded, but it might be a problem with 
ne
  eded dependent libraries
  ERROR: ...TEMP...: Can't find dependent libraries
  [error] RunTimeIDE: *** terminating: problem with native library: 
opencv_java34
  2.dll

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689290]: app.focus()-need asistance

2020-03-13 Thread RaiMan
Question #689290 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689290

Status: Open => Needs information

RaiMan requested more information:
I do not understand:
the above image keep on blinks.

... and my comments from #1 are still valid and not answered.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #688961]: about onChange() function

2020-03-13 Thread larryli
Question #688961 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688961

larryli posted a new comment:
Oh, I can understand.
thanks for your answer.

BTW, after threshold, if I want to get r,g,b, how to use it?
Imgproc.threshold(mDiffAbs, mDiffTresh, PIXEL_DIFF_THRESHOLD, 0.0, 
Imgproc.THRESH_TOZERO);

in the following code, it seems mats.size() is 0, I think it should be 3 for 
r,g,b. whether it is related with threshhold.
because, in Python, I will use b, g, r = cv2.split(mDiffTresh[1])

List mats = new ArrayList();
Core.split(mDiffTresh, mats);
int count = (mats != null) ? mats.size() : 0;
Debug.action("isChanged "+threshold+" Counter = "+count);

sorry, I am familiar with debug way to mat in sikulix code. do you know know 
which point problem?
thanks

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #688961]: about onChange() function

2020-03-13 Thread RaiMan
Question #688961 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688961

RaiMan posted a new comment:
the usage is:

finder = Finder(someImage)
finder.setFindChangesImageDiff(xx)
finder.findChanges(someOtherImage)

it only works for this finder object, because the values are reset to
standard with a new finder object.

For onChange() it does not do anything.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #689295]: sikulix always points to a different point

2020-03-13 Thread RaiMan
Question #689295 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689295

Status: Open => Needs information

RaiMan requested more information:
what system?
what SikuliX?
what Java?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #689295]: sikulix always points to a different point

2020-03-13 Thread 梅田香代子
New question #689295 on Sikuli:
https://answers.launchpad.net/sikuli/+question/689295

Hi,

I installed sikulix for the first time.
As you do, I created a program that double-clicks the icon on the desktop to 
open it.

doubleClick(image.png)

When I check it with the matching preview, the correct icon is filled.
However, the mouse clicks a different place.


In order to confirm the operation, I checked the point position with 
"find(iamge.png).highlight(1)".
Then, a red square was selected in a completely different place.


The fact that the icon is recognized, but a different place is selected means 
that there is a problem with the resolution, 
so I changed the resolution and took a screenshot and tried again, but I could 
not do it.
Only 800 × 600 resolution, somehow succeeded.

The screen is enlarged when taking a screenshot with sikulix. Is this normal 
behavior?
How does it click the right place?


I thought that the installation method was bad and reinstalled twice, but it 
does not change.
 I also restarted my PC.

I stumbled from the beginning.
Anyone know the solution?
Sorry to trouble you, but please teach.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #688961]: about onChange() function

2020-03-13 Thread larryli
Question #688961 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688961

larryli posted a new comment:
Dear RaiMan,

I check the github code, I find, you add two function to set pixels and
image_diff, setFindChangesPixelDiff and setFindChangesImageDiff

and also you call some reset the value.
Can I confirm when to calll this set function?
finder.setFindChangesPixelDiff(30);
finder.setFindChangesImageDiff(50);
because, in my side, I try to call these two function before observe and add 
the debug log in findChanges() function.

the value keep 3 and 5.

thanks for your answer.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp