[Sikuli-driver] [Question #258023]: setLogger not working

2014-11-21 Thread John Henckel
New question #258023 on Sikuli: https://answers.launchpad.net/sikuli/+question/258023 I think there is a copy/paste error in the code (see Debug.java) public static boolean setLoggerAction(String mAction) { if (mAction == null || mAction.isEmpty()) {

Re: [Sikuli-driver] [Question #256442]: How to press page down with Shift holded

2014-11-03 Thread John Henckel
Question #256442 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/256442 John Henckel posted a new comment: see https://community.oracle.com/thread/2232592?tstart=0 -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact

Re: [Sikuli-driver] [Question #256442]: How to press page down with Shift holded

2014-11-03 Thread John Henckel
Question #256442 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/256442 John Henckel posted a new comment: I encountered the SAME bug. I am using the Java API. When NUMLOCK is true, the Shift + End (or pgdn, or arrow) does not work as expected. I think that this is a BUG

Re: [Sikuli-driver] [Question #255872]: Java - click(Rectangle) ought to throw exception

2014-10-17 Thread John Henckel
Question #255872 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/255872 John Henckel posted a new comment: p.s. the correct invocation is region.click(new Region(rect)). But the point is, click(rect) should throw something. -- You received this question notification because

[Sikuli-driver] [Question #255872]: Java - click(Rectangle) ought to throw exception

2014-10-17 Thread John Henckel
New question #255872 on Sikuli: https://answers.launchpad.net/sikuli/+question/255872 Probably i'm stupid, but twice now I've tried to call region.click(rect) where rect is java.awt.Rectangle, which is not a supported target type. The function simply does nothing and returns 0 (which i

Re: [Sikuli-driver] [Question #255872]: Java - click(Rectangle) ought to throw exception

2014-10-17 Thread John Henckel
Question #255872 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/255872 John Henckel confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact

Re: [Sikuli-driver] [Question #255872]: Java - click(Rectangle) ought to throw exception

2014-10-17 Thread John Henckel
Question #255872 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/255872 Status: Answered = Solved John Henckel confirmed that the question is solved: sounds perfect -- You received this question notification because you are a member of Sikuli Drivers, which is an answer

Re: [Sikuli-driver] [Question #255516]: how to detect when screen changes - java

2014-10-09 Thread John Henckel
Question #255516 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/255516 John Henckel confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact

Re: [Sikuli-driver] [Question #255516]: how to detect when screen changes - java

2014-10-09 Thread John Henckel
Question #255516 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/255516 Status: Answered = Solved John Henckel confirmed that the question is solved: Thanks. I'm going to try robot.getPixelColor. I think that will be adequate for my needs, and much faster. Also I could do

[Sikuli-driver] [Question #255504]: sikulixapi-1.1.0 Java only, JNA 4 sample code.

2014-10-08 Thread John Henckel
com.sun.jna.platform.win32.WinDef.RECT; import com.sun.jna.platform.win32.WinNT.HANDLE; import com.sun.jna.platform.win32.WinUser; import com.sun.jna.ptr.IntByReference; /** * This is a wrapper for the HWND type that is in JNA 4.0. * PUBLIC DOMAIN * @author John Henckel, Oct 2014 */ public class Window

[Sikuli-driver] [Question #255516]: how to detect when screen changes - java

2014-10-08 Thread John Henckel
New question #255516 on Sikuli: https://answers.launchpad.net/sikuli/+question/255516 I'm trying to determine the refresh rate of an animation so I need to test when the region changes. I wrote this code in Java to measure how frequently the screen is changing. Region reg = new

Re: [Sikuli-driver] [Question #255516]: how to detect when screen changes - java

2014-10-08 Thread John Henckel
Question #255516 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/255516 John Henckel gave more information on the question: Bottom line: what I really want to know is, what is the best way to detect when anything in a region has changed. I want to write code such as boolean ok

Re: [Sikuli-driver] [Question #254228]: missing sources and javadocs for version 1.0.1 --- recommendation: switch to version 1.1.0

2014-09-18 Thread John Henckel
Question #254228 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/254228 John Henckel posted a new comment: Now I just downloaded a fresh copy of SikuliXAPI-1.1.0.jar and sources and javadoc. IT WORKS GREAT no problems!! thanks very much Raiman. -- You received

Re: [Sikuli-driver] [Question #254228]: missing sources and javadocs for version 1.0.1 --- recommendation: switch to version 1.1.0

2014-09-09 Thread John Henckel
Question #254228 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/254228 John Henckel confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact

Re: [Sikuli-driver] [Question #254225]: Java source code for Sikuli 1.0.1

2014-09-09 Thread John Henckel
Question #254225 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/254225 Status: Answered = Solved John Henckel confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli

Re: [Sikuli-driver] [Question #254228]: missing sources and javadocs for version 1.0.1 --- recommendation: switch to version 1.1.0

2014-09-09 Thread John Henckel
Question #254228 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/254228 John Henckel posted a new comment: I tried to use 1.1.0-Beta4 but it is very unstable. When I download the sikulixsetup-1.1.0-Beta4.jar and run it, I get error below [debug (9/9/14 10:34:27 AM)] Sikulix

Re: [Sikuli-driver] [Question #254228]: missing sources and javadocs for version 1.0.1 --- recommendation: switch to version 1.1.0

2014-09-09 Thread John Henckel
Question #254228 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/254228 John Henckel posted a new comment: I'm going back to 1.0.1 -- at least it runs, even though the source and javadoc doesn't match. -- You received this question notification because you are a member

[Sikuli-driver] [Question #254225]: Java source code for Sikuli 1.0.1

2014-09-08 Thread John Henckel
New question #254225 on Sikuli: https://answers.launchpad.net/sikuli/+question/254225 I'm writing some test case code in Eclipse using sikuli-java.jar. However the jar does not contain source code which makes it more difficult to debug. Where can I get the source code? I tried GitHUB but I

[Sikuli-driver] [Question #254228]: missing method SikuliX.input

2014-09-08 Thread John Henckel
New question #254228 on Sikuli: https://answers.launchpad.net/sikuli/+question/254228 I'm using Sikuli 1.0.1 in Eclipse with sikuli-java.jar and I am looking at the documentation here http://nightly.sikuli.de/docs/index.html but it does not match. For example the documentation says there is a