[Sikuli-driver] [Question #664122]: Run sikuli script in headless mode in ubuntu

2018-02-05 Thread Prasanjit
New question #664122 on Sikuli:
https://answers.launchpad.net/sikuli/+question/664122

How  to  run sikuli in headless mode using a docker  connecting  to a Ubuntu 
operating system?

-- 
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 #664112]: Screen capture vnc screen. Is it possible?

2018-02-05 Thread Stephen Carroll
New question #664112 on Sikuli:
https://answers.launchpad.net/sikuli/+question/664112

Running 1.1.2, wondering if there is a way to capture a vnc remote screen to 
png file.

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - Java/Windows HiDPI problem

2018-02-05 Thread RaiMan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

RaiMan posted a new comment:
ok, thanks.

Java 9: 1.1.1 might not work, depending on what features you use.
You might download setup again (now has a fix to accept Java 9) and run a new 
setup - but no guarantee.

Version 1.1.2 has some fixes for Java 9, but still says that use of Java
9 is experimental.

I will now switch to Java 9 on my Windows 10 system and try to make
1.1.2 Java 9 executable.

-- 
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 #664103]: How to Uninstall Sikuli (1.1.1 version) or other versions?

2018-02-05 Thread RaiMan
Question #664103 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664103

RaiMan posted a new comment:
yes, now sikulixapi.jar

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - Java/Windows HiDPI problem

2018-02-05 Thread landylan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

Status: Answered => Solved

landylan confirmed that the question is solved:
Here're some information FYR:

- JDK9 + screenScale:100% + sikulix1.1.2 + reboot ==> PROBLEM SOLVED!

Although I got some unstable situation before I reboot:
- "java -jar MoveMouseAround.jar loops delay" TEST is OK for most of time 
(there's still 1 time abnormal during 10+ times TEST).
- "click(Location(500,500))" one line script TEST is NG for most of time 
(there're only a few times OK in 10+ times TEST).

But after I reboot my PC, everything's good. No more error for the 2
TEST above.

I've also installed sikulix 1.1.2 and keep 1.1.1 in another directory.
1.1.2 works for me, so I go back to check the 1.1.1 and found that it
cannot be launched anymore. According to the message, it seems 1.1.1 is
not compatiable with JDK9. I'm not sure about this, but I think it is
enough if 1.1.2 works fine for me.

Although click() is ok now, but there're some warning and error message
in command window when sikulix launched. I'm not sure if there's any
other issue as Raiman said. I'll try to keep using it because it is the
only way for me. If there's any other issue, I'll go back here to let
you know.

Thank you very much for all your kind help!!

-- 
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 #664103]: How to Uninstall Sikuli (1.1.1 version) or other versions?

2018-02-05 Thread sam
Question #664103 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664103

Status: Open => Solved

sam  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 #664103]: How to Uninstall Sikuli (1.1.1 version) or other versions?

2018-02-05 Thread sam
Question #664103 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664103

Status: Answered => Open

sam  is still having a problem:
Thank you very much RaiMan.

I just have one more question to clarify. I was looking for sikuli-
script.jar file in the new version (1.1.1) but I couldn't find it. I
assume that sikuli-script.jar renamed to sikulixapi.jar in new version.
Is that correct?

Thank you.

-- 
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 #664004]: Get a list of all applications that SikuliX currently sees

2018-02-05 Thread RaiMan
Question #664004 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664004

RaiMan posted a new comment:
Hi Ben: thanks for kind feedback. All the best.

-- 
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 #664004]: Get a list of all applications that SikuliX currently sees

2018-02-05 Thread Ben Carson
Question #664004 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664004

Ben Carson posted a new comment:
@RaiMain, Thank you very much for the answer. I have never used the 'tasklist' 
command before, so I was able to see that my Form has a slightly different name 
there.
Unfortunately, I am still having the issue where my WinForm isn't being brought 
to the front with .focus(), however, at this point, I think it's an issue with 
my application and not Sikulix. I created a new blank form and tried focus, it 
worked. But as soon as I extended the new form from our base parent form class, 
the form stopped responding to .focus. Clearly it's something to do with our 
code and (probably) it's use of Windows virtual desktops. Nothing for you to 
worry about.

On a personal note, SikuliX is an amazing project! I am relying on it
more and more everyday. Keep up the excellent work!

-- 
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 #664103]: How to Uninstall Sikuli (1.1.1 version) or other versions?

2018-02-05 Thread RaiMan
Question #664103 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664103

Status: Open => Answered

RaiMan proposed the following answer:
If you did not do anything else than running SikuliX setup:
- delete the setup folder and anything, that you moved elsewhere from here
- delete the folder Sikulix in your application data area (pointed to by 
environment variable %APPDATA%)

that's all.

SikuliX 1.0+ setup does not change anything in your system besides
adding the above 2 folders.

-- 
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 #664004]: Get a list of all applications that SikuliX currently sees

2018-02-05 Thread Ben Carson
Question #664004 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664004

Status: Answered => Solved

Ben Carson 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


[Sikuli-driver] [Question #664103]: How to Uninstall Sikuli (1.1.1 version) or other versions?

2018-02-05 Thread sam
New question #664103 on Sikuli:
https://answers.launchpad.net/sikuli/+question/664103

Hello,

I am new to Sikuli and I recently installed Sikuli (version 1.1.1) on my 
windows 10 machine. Also, I am using Jython 2.5.3 version.

I have out of curiosity question: In case I want to uninstall Sikuli, what is 
the proper way to do it? I couldn't find uninstall.exe on Sikuli folder. 

Thank you.

-- 
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 1730645] Re: [1.1.1] Windows 10: Move mouse for click not working since new JRE and Windows update with Java 8 and HiDPI --- workaround Java 9 and scaling 100%

2018-02-05 Thread RaiMan
** Description changed:

  * Java problem
  seems to be related to a problem with HiDPI and scaled monitor setups
  https://bugs.openjdk.java.net/browse/JDK-8196030
  
+ The test app (plain Java AWT Robot) works for me on:
+ Windows 10 Version 1709 Build 16299.192 (latest per today 2018-02-05)
+ Java 8 version 152
+ Normal monitor setup 1920 x 1200, scaling 100%, no HiDPI
+ 
+ The problem seems to exist with Java 8 not supporting HiDPI.
+ 
+ Using Java 9 on HiDPI systems with a scaling of 100% seems to work (but 
SikuliX is not tested on Java 9 in all aspects and might have the one or other 
glitch).
  -
  
  wondering if anyone else is seeing this.
  
  I install the latest big update for Windows this morning and also
  accepted an update to the latest JRE.
  
  Now my when Sikuli moves the mouse to click on a match it doesn't land
  on the coordinates.   It even recognizes that it missed and has an error
  message saying it tried to move the mouse to (x, y), but landed on (p,
  q) instead.
  
  Any idea what is happening and how to fix it?
  
  Thanks!

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

Title:
  [1.1.1] Windows 10: Move mouse for click not working since new JRE and
  Windows update with Java 8 and HiDPI --- workaround Java 9 and scaling
  100%

Status in Sikuli:
  In Progress

Bug description:
  * Java problem
  seems to be related to a problem with HiDPI and scaled monitor setups
  https://bugs.openjdk.java.net/browse/JDK-8196030

  The test app (plain Java AWT Robot) works for me on:
  Windows 10 Version 1709 Build 16299.192 (latest per today 2018-02-05)
  Java 8 version 152
  Normal monitor setup 1920 x 1200, scaling 100%, no HiDPI

  The problem seems to exist with Java 8 not supporting HiDPI.

  Using Java 9 on HiDPI systems with a scaling of 100% seems to work (but 
SikuliX is not tested on Java 9 in all aspects and might have the one or other 
glitch).
  -

  wondering if anyone else is seeing this.

  I install the latest big update for Windows this morning and also
  accepted an update to the latest JRE.

  Now my when Sikuli moves the mouse to click on a match it doesn't land
  on the coordinates.   It even recognizes that it missed and has an
  error message saying it tried to move the mouse to (x, y), but landed
  on (p, q) instead.

  Any idea what is happening and how to fix it?

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1730645/+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


[Sikuli-driver] [Bug 1730645] Re: [1.1.1] Windows 10: Move mouse for click not working since new JRE and Windows update with Java 8 and HiDPI --- workaround Java 9 and scaling 100%

2018-02-05 Thread Dan Quimby
Thanks RaiMan.  I'll give this a try.  I suspected there might be
something in the scaling.  I fiddle with it a bit, but no success.

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

Title:
  [1.1.1] Windows 10: Move mouse for click not working since new JRE and
  Windows update with Java 8 and HiDPI --- workaround Java 9 and scaling
  100%

Status in Sikuli:
  In Progress

Bug description:
  * Java problem
  seems to be related to a problem with HiDPI and scaled monitor setups
  https://bugs.openjdk.java.net/browse/JDK-8196030

  -

  wondering if anyone else is seeing this.

  I install the latest big update for Windows this morning and also
  accepted an update to the latest JRE.

  Now my when Sikuli moves the mouse to click on a match it doesn't land
  on the coordinates.   It even recognizes that it missed and has an
  error message saying it tried to move the mouse to (x, y), but landed
  on (p, q) instead.

  Any idea what is happening and how to fix it?

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1730645/+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


[Sikuli-driver] [Bug 1730645] Re: [1.1.1] Windows 10: Move mouse for click not working since new JRE and Windows update with Java 8 and HiDPI

2018-02-05 Thread RaiMan
** Summary changed:

- [1.1.1] Windows 10: Move mouse for click not working since new JRE and 
Windows update
+ [1.1.1] Windows 10: Move mouse for click not working since new JRE and 
Windows update with Java 8 and HiDPI

** Summary changed:

- [1.1.1] Windows 10: Move mouse for click not working since new JRE and 
Windows update with Java 8 and HiDPI
+ [1.1.1] Windows 10: Move mouse for click not working since new JRE and 
Windows update with Java 8 and HiDPI --- workaround Java 9 and scaling 100%

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

Title:
  [1.1.1] Windows 10: Move mouse for click not working since new JRE and
  Windows update with Java 8 and HiDPI --- workaround Java 9 and scaling
  100%

Status in Sikuli:
  In Progress

Bug description:
  * Java problem
  seems to be related to a problem with HiDPI and scaled monitor setups
  https://bugs.openjdk.java.net/browse/JDK-8196030

  -

  wondering if anyone else is seeing this.

  I install the latest big update for Windows this morning and also
  accepted an update to the latest JRE.

  Now my when Sikuli moves the mouse to click on a match it doesn't land
  on the coordinates.   It even recognizes that it missed and has an
  error message saying it tried to move the mouse to (x, y), but landed
  on (p, q) instead.

  Any idea what is happening and how to fix it?

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1730645/+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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - Java/Windows HiDPI problem

2018-02-05 Thread RaiMan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

Status: Open => Answered

RaiMan proposed the following answer:
@landylan
no problem ;-)

come back with any additional information.
Thanks for your efforts and cooperation.

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - Java/Windows HiDPI problem

2018-02-05 Thread RaiMan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

Summary changed to:
[1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - 
Java/Windows HiDPI problem

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - Java/Windows problem

2018-02-05 Thread RaiMan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

Description changed to:
 info on related bug 1730645 and the test
The test app (plain Java AWT Robot) works for me on:
Windows 10 Version 1709 Build 16299.192 (latest per today 2018-02-05)
Java 8 version 152
Normal monitor setup 1920 x 1200, scaling 100%, no HiDPI

The problem seems to exist with Java 8 not supporting HiDPI.

Using Java 9 on HiDPI systems with a scaling of 100% seems to work (but SikuliX 
is not tested on Java 9 in all aspects and might have the one or other glitch).


Hello,

Thanks for this great project, it helps a lot for many of us.

But there's a big problem for click() since 2017/11/27. It just doesn't
work as expected. When we run the one line script below:

click(Location(500,500))

We got the response:

[error] RobotDesktop: checkMousePosition: should be L(500,500)@S(0)[0,0 
3840x2160] but after move is L(0,0)@S(0)[0,0 3840x2160] Possible cause in case 
you did not touch the mouse while script was running: Mouse actions are blocked 
generally or by the frontmost application. You might try to run the SikuliX 
stuff as admin.
[log] CLICK on L(500,500)@S(0)[0,0 3840x2160] (570 msec)

We've tried some suggestion in
https://answers.launchpad.net/sikuli/+question/251336, but it doesn't
work...

It seems related to the win10 update... May we ask if this will be
handled and solved? Or is there any trick or hack we can do to let our
script work again?

Sorry for bothering you about this. But it will be very helpful for us
if this work again...

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - Java/Windows problem

2018-02-05 Thread landylan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

landylan gave more information on the question:
wait the situation is not so stable I'll keep trying and report
later... thanks for your patient...

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - Java/Windows problem

2018-02-05 Thread RaiMan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

RaiMan posted a new comment:
@masuo
... so I will hide your comments on this thread to not irritate other people.

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - Java/Windows problem

2018-02-05 Thread RaiMan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

RaiMan posted a new comment:
@masuo
ok, understood.
... but this is a completely other problem:
with a delay of 0 it might happen, that after the previous action, the GUI is 
not yet ready for accepting the click at the move target position.
This was the reason behind, why the original developers 5 years ago implemented 
the so called "animated mouse move", that for some time (0.5 seconds in the 
standard) moves the mouse in steps towards the target position (beginning with 
larger steps getting smaller the nearer the target).

So using a delay of 0 only makes sense in special situations (e.g. in
games).

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - Java/Windows problem

2018-02-05 Thread masuo
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

masuo posted a new comment:
@landylan
Thank you for your information.

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - Java/Windows problem

2018-02-05 Thread landylan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

Status: Answered => Open

landylan is still having a problem:
@RaiMan

Thanks for your information of
https://bugs.openjdk.java.net/browse/JDK-8196030 .

It says the problem appear when screen scale is set to 125% or greater.
My setting is 150%, so I restore to 100%, but it still doesn't work.

And I notice that there's a comment say AWT does not support HiDPI in
JDK8. So I install JDK9 and it work!! IT WORKS!! ^_^

Then I go back to my original PC, and install JDK9. Before I change my
screen scale(150%), it still doesn't work, but after I change to 100%,
it finally work!!

CONCLUSION:
===
This problem appears on HiDPI because AWT doesn't supported it. Temperal 
solution is listed below:
1. Install JDK9
2. Set windows screen scale to 100%

Hope this helps. Thank you all for your kindly help!! ^_^

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - Java/Windows problem

2018-02-05 Thread masuo
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

masuo posted a new comment:
@RaiMan
I have problems with Settings.MoveMouseDelay = 0 .
click did not work when Settings.MoveMouseDelay is zero .
By setting a value other than zero, I confirmed that clicks work.

for examples
Settings.MoveMouseDelay = 3
Settings.MoveMouseDelay = 1
Settings.MoveMouseDelay = 0.1

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - Java/Windows problem

2018-02-05 Thread RaiMan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

Status: Needs information => Answered

RaiMan proposed the following answer:
@landylan
Apparently something vital with mouse-move has been changed in Windows (perhaps 
only together with some HiDPI and/or graphics device setups - I do not know), 
that affects the use of Java AWT Robot in these situations.

As I understand, there is no possible solution in the near future.

As mentioned: I do not have the problem on my Windows 10 box with a normal 
graphics setup.
I do not have any experiences with the Surface devices ( .. and sorry, will 
surely never have ;-).

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - Java/Windows problem

2018-02-05 Thread RaiMan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

Status: Open => Needs information

RaiMan requested more information:
@masuo
... and it vanished using 
Settings.MoveMouseDelay = 0.1 ???

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - Java/Windows problem

2018-02-05 Thread masuo
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

masuo posted a new comment:
@RaiMan
On my enviroment, I  experienced this odd mouse behavior.

Microsoft Windows [Version 10.0.16299.125]

java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - Java/Windows problem

2018-02-05 Thread landylan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

Status: Answered => Open

landylan is still having a problem:
I've tried the test in https://bugs.launchpad.net/sikuli/+bug/1730645
and the error still appears for me.

So it is the problem of Java and Win10?

I then change to another machine(Surface Pro 3), which I restored to
factory default a few weeks ago, and I install java, and run the test
again... There's still same error Even I use the
"Settings.MoveMouseDelay = 0.1", it is still the same.

I may try to restore my SP3 to factory default again later, and install
pure java to run the test again. If it is the problem of java, will
there be any way to get rid of this problem?

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - Java/Windows problem

2018-02-05 Thread RaiMan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

RaiMan requested more information:
@masuo
Still not sure about your saying:

--- After Windows10 update, that code don't work correct.
Did you have problems with 
Settings.MoveMouseDelay = 0

or did you experience this odd mouse behavior mentioned here and in the
related bug?

-- 
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 1730645] Re: [1.1.1] Windows 10: Move mouse for click not working since new JRE and Windows update

2018-02-05 Thread RaiMan
** Description changed:

+ * Java problem
+ seems to be related to a problem with HiDPI and scaled monitor setups
+ https://bugs.openjdk.java.net/browse/JDK-8196030
+ 
+ -
+ 
  wondering if anyone else is seeing this.
  
  I install the latest big update for Windows this morning and also
  accepted an update to the latest JRE.
  
  Now my when Sikuli moves the mouse to click on a match it doesn't land
  on the coordinates.   It even recognizes that it missed and has an error
  message saying it tried to move the mouse to (x, y), but landed on (p,
  q) instead.
  
  Any idea what is happening and how to fix it?
  
  Thanks!

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

Title:
  [1.1.1] Windows 10: Move mouse for click not working since new JRE and
  Windows update

Status in Sikuli:
  In Progress

Bug description:
  * Java problem
  seems to be related to a problem with HiDPI and scaled monitor setups
  https://bugs.openjdk.java.net/browse/JDK-8196030

  -

  wondering if anyone else is seeing this.

  I install the latest big update for Windows this morning and also
  accepted an update to the latest JRE.

  Now my when Sikuli moves the mouse to click on a match it doesn't land
  on the coordinates.   It even recognizes that it missed and has an
  error message saying it tried to move the mouse to (x, y), but landed
  on (p, q) instead.

  Any idea what is happening and how to fix it?

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1730645/+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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - Java/Windows problem

2018-02-05 Thread masuo
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

masuo posted a new comment:
@RaiMan
This is a tentative workaround to make the script to work.
I do not know the perfect solution.

Before Windows10 update, this code worked correct.
Settings.MoveMouseDelay = 0

After Windows10 update, that code don't work correct.
So I tried this codes.
Settings.MoveMouseDelay = 0.1

Although not the same,it worked.

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - Java/Windows problem

2018-02-05 Thread RaiMan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

Summary changed to:
[1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest - 
Java/Windows problem

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest

2018-02-05 Thread RaiMan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

RaiMan proposed the following answer:
@landylan
Sorry for the inconvenience.

I again tested on my Windows 10 latest build today and cannot confirm
any problems. It simply works for me.

Since there are only a few complaints about that mouse move problem, I
suppose it is caused by a very special system configuration of the
grafics hardware and the related drivers.

Apparently this is related to some glitch between Java and Windows:
https://bugs.openjdk.java.net/browse/JDK-8196030

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest

2018-02-05 Thread RaiMan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

Summary changed to:
[1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest

2018-02-05 Thread RaiMan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

RaiMan requested more information:
@masuo
Did you have the problem on Windows 10 and it vanished with 
Settings.MoveMouseDelay = 0.1 ???

-- 
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 #664092]: [1.1.1] click() doesn't work on Windows10 - 1709 with Java 8 latest

2018-02-05 Thread RaiMan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

Description changed to:
 info on related bug 1730645 and the test
The test app (plain Java AWT Robot) works for me on:
Windows 10 Version 1709 Build 16299.192 (latest per today 2018-02-05)
Java 8 version 152


Hello,

Thanks for this great project, it helps a lot for many of us.

But there's a big problem for click() since 2017/11/27. It just doesn't
work as expected. When we run the one line script below:

click(Location(500,500))

We got the response:

[error] RobotDesktop: checkMousePosition: should be L(500,500)@S(0)[0,0 
3840x2160] but after move is L(0,0)@S(0)[0,0 3840x2160] Possible cause in case 
you did not touch the mouse while script was running: Mouse actions are blocked 
generally or by the frontmost application. You might try to run the SikuliX 
stuff as admin.
[log] CLICK on L(500,500)@S(0)[0,0 3840x2160] (570 msec)

We've tried some suggestion in
https://answers.launchpad.net/sikuli/+question/251336, but it doesn't
work...

It seems related to the win10 update... May we ask if this will be
handled and solved? Or is there any trick or hack we can do to let our
script work again?

Sorry for bothering you about this. But it will be very helpful for us
if this work again...

-- 
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 #664092]: click() doesn't work on Windows10

2018-02-05 Thread RaiMan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

Description changed to:
 info on related bug and the test
The test app (plain Java AWT Robot) works for me on:
Windows 10 Version 1709 Build 16299.192 (latest per today 2018-02-05)
Java 8 version 152


Hello,

Thanks for this great project, it helps a lot for many of us.

But there's a big problem for click() since 2017/11/27. It just doesn't
work as expected. When we run the one line script below:

click(Location(500,500))

We got the response:

[error] RobotDesktop: checkMousePosition: should be L(500,500)@S(0)[0,0 
3840x2160] but after move is L(0,0)@S(0)[0,0 3840x2160] Possible cause in case 
you did not touch the mouse while script was running: Mouse actions are blocked 
generally or by the frontmost application. You might try to run the SikuliX 
stuff as admin.
[log] CLICK on L(500,500)@S(0)[0,0 3840x2160] (570 msec)

We've tried some suggestion in
https://answers.launchpad.net/sikuli/+question/251336, but it doesn't
work...

It seems related to the win10 update... May we ask if this will be
handled and solved? Or is there any trick or hack we can do to let our
script work again?

Sorry for bothering you about this. But it will be very helpful for us
if this work again...

-- 
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 #664092]: click() doesn't work on Windows10

2018-02-05 Thread RaiMan
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

Linked to bug: #1730645
https://bugs.launchpad.net/bugs/1730645
"[1.1.1] Windows 10: Move mouse for click not working since new JRE and 
Windows update"

-- 
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 #664090]: Image is not finiding some times

2018-02-05 Thread RaiMan
Question #664090 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664090

Status: Open => Answered

RaiMan proposed the following answer:
usually this is caused by non-optimal screenshot.

- concentrate shot on significant aspects of the image
- as little background as possible towards the edges

read:
http://sikulix-2014.readthedocs.io/en/latest/basicinfo.html#sikulix-how-does-it-find-images-on-the-screen

-- 
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 #664092]: click() doesn't work on Windows10

2018-02-05 Thread masuo
Question #664092 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/664092

Status: Open => Answered

masuo proposed the following answer:
Is there setting as Settings.MoveMouseDelay = 0?

I don't know the reason of this, but I know simple workaround.
Try Settings.MoveMouseDelay = 0.1 .

-- 
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 #663982]: can not select image when taking screenshot in sikuli

2018-02-05 Thread RaiMan
Question #663982 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663982

Status: Open => Solved

RaiMan changed the question status:
by user

-- 
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 #664092]: click() doesn't work on Windows10

2018-02-05 Thread landylan
New question #664092 on Sikuli:
https://answers.launchpad.net/sikuli/+question/664092

Hello,

Thanks for this great project, it helps a lot for many of us.

But there's a big problem for click() since 2017/11/27. It just doesn't work as 
expected. When we run the one line script below:

click(Location(500,500))

We got the response:

[error] RobotDesktop: checkMousePosition: should be L(500,500)@S(0)[0,0 
3840x2160] but after move is L(0,0)@S(0)[0,0 3840x2160] Possible cause in case 
you did not touch the mouse while script was running: Mouse actions are blocked 
generally or by the frontmost application. You might try to run the SikuliX 
stuff as admin.
[log] CLICK on L(500,500)@S(0)[0,0 3840x2160] (570 msec)

We've tried some suggestion in 
https://answers.launchpad.net/sikuli/+question/251336, but it doesn't work...

It seems related to the win10 update... May we ask if this will be handled and 
solved? Or is there any trick or hack we can do to let our script work again?

Sorry for bothering you about this. But it will be very helpful for us if this 
work again...


-- 
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