[Sikuli-driver] [Bug 950603] Re: X-1.0rc3: Region.highlight() should not close expanded menu or drop down

2015-08-18 Thread David ENJOLRAS
I confirm this bug description, and I'm also interested in a solution... Thanks. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/950603 Title: X-1.0rc3: Region.highlight() should not close expanded

[Sikuli-driver] [Question #271287]: Highlight on "previous region found" create a blank box

2015-09-11 Thread David ENJOLRAS
New question #271287 on Sikuli: https://answers.launchpad.net/sikuli/+question/271287 Using sikulixsetup-1.1.0-20150910.231027-160-forsetup Open Notepad, entre "My test Here" with Sikuli : Region1= find( Region2= find( Region1.highlight() popup("pause") ==> The area where "My test Here" is foun

Re: [Sikuli-driver] [Question #271287]: Highlight on "previous region found" create a blank box

2015-09-11 Thread David ENJOLRAS
Question #271287 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271287 Description changed to: Using sikulixsetup-1.1.0-20150910.231027-160-forsetup Open Notepad, enter "My test Here" with Sikuli : Region1= find( Region2= find( Region1.highlight() popup("pause") ==> The area

Re: [Sikuli-driver] [Question #271287]: Highlight on "previous region found" create a blank box

2015-09-11 Thread David ENJOLRAS
Question #271287 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271287 Status: Needs information => Solved David ENJOLRAS confirmed that the question is solved: Was Java6 ( same host as the one where I have Sikuli 1.0 ) With Java8, it's indeed working ! Thanks.

[Sikuli-driver] [Bug 1495416] [NEW] MyRegion.click() don't work after MyRegion.highlight()

2015-09-14 Thread David ENJOLRAS
Public bug reported: With Java 8 Build 60 and Sikulix "1.1.0.201509110100" under a French windows 2008 R2. result = App("winver").open() if (result == None): raise Exception("Application not openned") MyRegion=find("Winver_Screen.png") MyRegion.highlight() MyRegion.click("Button_OK_In_wi

[Sikuli-driver] [Bug 1495416] Re: MyRegion.click() don't work after MyRegion.highlight()

2015-09-14 Thread David ENJOLRAS
Why invalid ? -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1495416 Title: MyRegion.click() don't work after MyRegion.highlight() Status in Sikuli: In Progress Bug description: With Java

[Sikuli-driver] [Bug 1495416] Re: [1.1.0] click(ButtonInMyRegion) does not work after MyRegion.highlight() --- highlight has to be stopped before

2015-09-14 Thread David ENJOLRAS
ok. I'll change my code. For the record: I run sikuli automatically from Command line each night over multiple systems, and I cannot "look the screen" to debug. Instead, I've re-wroten must of the proc to include screen capture at all steps and generate an html report. You can contact me in pri

[Sikuli-driver] [Bug 1495552] [NEW] Pattern don't have a wait to access to requested similarity

2015-09-14 Thread David ENJOLRAS
Public bug reported: We can do : MyPattern = Pattern("Test.png").similar(0.62).targetOffset(56,-17) MyPattern.getFilename() MyPattern.getTargetOffset() but no "MyPattern.GetSimilar() exist." ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notificat

[Sikuli-driver] [Bug 1495973] [NEW] fatal error 999 / doFind: invalid parameter

2015-09-15 Thread David ENJOLRAS
Public bug reported: +++ running this Java java version "1.8.0_60" Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM) Client VM (build 25.60-b23, mixed mode, sharing) +++ trying to run SikuliX +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar U:\ge

[Sikuli-driver] [Bug 1495973] Re: fatal error 999 / doFind: invalid parameter

2015-09-15 Thread David ENJOLRAS
it's on a French Windows 2008 R2, with the Sikuli Build from this night. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1495973 Title: fatal error 999 / doFind: invalid parameter Status in Sikuli

[Sikuli-driver] [Bug 1495973] Re: fatal error 999 / doFind: invalid parameter

2015-09-15 Thread David ENJOLRAS
I can change my code, For the record, this is working well with 1.0 version. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1495973 Title: fatal error 999 / doFind: invalid parameter Status in S

Re: [Sikuli-driver] [Bug 1495973] Re: fatal error 999 / doFind: invalid parameter

2015-09-15 Thread David ENJOLRAS
Yes. Envoyé de mon iPhone > Le 15 sept. 2015 à 17:37, RaiMan a écrit : > > I do not know a version 1.0 > > Do you mean 1.0.1 ?? > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1495973 > > Title: > fatal error 999

Re: [Sikuli-driver] [Question #185791]: How to run "Sikuli On Virtual Machines"

2015-09-29 Thread David ENJOLRAS
Question #185791 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/185791 David ENJOLRAS posted a new comment: > --- in version 1.1.0 there is a new VNC solution ... > ... but this is not yet stable and under investigation () Do you have update on this ? I have not found a

Re: [Sikuli-driver] [Question #185791]: How to run "Sikuli On Virtual Machines"

2015-09-29 Thread David ENJOLRAS
Question #185791 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/185791 David ENJOLRAS posted a new comment: @RaiMan, sorry, I didn't understand your answer for help about "--- the remote server feature in 1.1.0 (setup option 5) ..." Actual 1.1.0 setup have

[Sikuli-driver] [Question #271928]: type(xxx, Key.DELETE) don't delete highlighted text

2015-09-30 Thread David ENJOLRAS
New question #271928 on Sikuli: https://answers.launchpad.net/sikuli/+question/271928 in Notepad, enter "ThisIsaTest" and double click on it in order to get it selected with sikuli, run type(,Key.DELETE) instead of having deleted the selection, only 1 char have been removed ? type(,Key.SHIFT+

[Sikuli-driver] [Question #272074]: How to Manage image recognition across windows versions ?

2015-10-05 Thread David ENJOLRAS
New question #272074 on Sikuli: https://answers.launchpad.net/sikuli/+question/272074 I have a set of sikuly script running well on a windows 2003, but failing on 2008. Same fro script adapted for 2008, they are failing on 2012... The reason is simple : Microsoft have change the appearance of t

[Sikuli-driver] [Question #272118]: Check if image file exist in getImagePath()

2015-10-06 Thread David ENJOLRAS
New question #272118 on Sikuli: https://answers.launchpad.net/sikuli/+question/272118 a direct usage of Pattern('a') return error] Image: could not be loaded: file:/H:/test.sikuli/a.png [error] Image: Image not valid, but TextSearch is switched off! I would like to be able to check the file 'a.p

[Sikuli-driver] [Question #272206]: details on Find result

2015-10-08 Thread David ENJOLRAS
New question #272206 on Sikuli: https://answers.launchpad.net/sikuli/+question/272206 in debug mode, we can see that find generate such log : [debug] Region: find: P(RepositoryPath.png) S: 0.7 has appeared at M[434,329 409x188]@S(S(0)[0,0 1280x960]) S:0.81 C:638,423 [687 msec] using : Searched

[Sikuli-driver] [Question #272686]: find not working properly / HowTo Debug

2015-10-21 Thread David ENJOLRAS
New question #272686 on Sikuli: https://answers.launchpad.net/sikuli/+question/272686 with java version "1.8.0_60" / SikuliX (build 201510051707) / run with -d 3 I have a strange situation: In my code, If a find fails, I redo one on full screen, with less and less similar value. the code is li

Re: [Sikuli-driver] [Question #272686]: find not working properly / HowTo Debug

2015-10-21 Thread David ENJOLRAS
Question #272686 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272686 Description changed to: with java version "1.8.0_60" / SikuliX (build 201510051707) / run with -d 3 I have a strange situation: In my code, If a find fails, I redo one on full screen, with less and less si

Re: [Sikuli-driver] [Question #272686]: find not working properly / HowTo Debug

2015-10-22 Thread David ENJOLRAS
Question #272686 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272686 Status: Answered => Open David ENJOLRAS is still having a problem: I've retry with 2 findAll The 1rst fail, but the second found a match at 1.0 when requesting a 0.95 similarity ! 08:25:45

Re: [Sikuli-driver] [Question #272686]: find not working properly / HowTo Debug

2015-10-22 Thread David ENJOLRAS
Question #272686 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272686 David ENJOLRAS posted a new comment: I've try a simplified version and have understood the situation ! at 1rst try, The "OK" button don't have the focus , so is not recognized. ( It

[Sikuli-driver] [Question #273326]: getlocale

2015-10-28 Thread David ENJOLRAS
New question #273326 on Sikuli: https://answers.launchpad.net/sikuli/+question/273326 Probably more a Jython issue than a Sikuli one. But If you can help ... import locale loc = locale.getlocale() print loc always return (None,None) on my windows a run run with -d 3 shows : [debug] init user pr

[Sikuli-driver] [Question #273329]: VNCMichaelJohnson

2015-10-28 Thread David ENJOLRAS
New question #273329 on Sikuli: https://answers.launchpad.net/sikuli/+question/273329 Hello, >From the source I can see a directory VNCMichaelJohnsonwith a example.py But I'm not sure to understand the status: Does the 2 ".patch" files need to be applied on current version, so requiring a home

[Sikuli-driver] [Question #290731]: VNCScreen in Java work fine. HowTo in python ?

2016-04-12 Thread David ENJOLRAS
New question #290731 on Sikuli: https://answers.launchpad.net/sikuli/+question/290731 Hello. code delow work well. But I have a lot of stiff done in python and would like to continue to work with python. How to port the java sample in python ?? -

Re: [Sikuli-driver] [Question #290731]: VNCScreen in Java work fine. HowTo in python ?

2016-04-12 Thread David ENJOLRAS
Question #290731 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/290731 Status: Answered => Open David ENJOLRAS is still having a problem: Good start point, but not working :-( even with just the import lines : [error] Did not find any active ConnectionControllers. Can

[Sikuli-driver] [Question #291150]: VNCScreen => How to click ?

2016-04-15 Thread David ENJOLRAS
New question #291150 on Sikuli: https://answers.launchpad.net/sikuli/+question/291150 Following code works well until I try the click: I can see the mouse on the MAIN screen moving & clicking, not the one in the VNC session :-( ( You can see in trace what the click is done on the main screen )

Re: [Sikuli-driver] [Question #291150]: VNCScreen => How to click ?

2016-04-18 Thread David ENJOLRAS
Question #291150 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/291150 David ENJOLRAS gave more information on the question: Seems a SCREEN = VNCScreen() may help, but still not working... -- You received this question notification because your team Sikuli Drivers is an

[Sikuli-driver] [Bug 1572181] [NEW] Mouse.java use static "Screen" instead of one given by location

2016-04-19 Thread David ENJOLRAS
Public bug reported: in the Mouse.hjava code, we can see : r = Screen.getMouseRobot(); ==> This will always use the "Sceen" implementation, whatever if the user create another kind of screen ( like a VNCScreen ) It will be better to act on the screen defined by the location. IScreen Screen

[Sikuli-driver] [Bug 1573564] [NEW] Location.getRobotForPoint don't return good robot

2016-04-22 Thread David ENJOLRAS
Public bug reported: protected IRobot getRobotForPoint(String action) { if (getScreen() == null) { Debug.error("Point %s outside any screen not useable for %s", this, action); return null; } if (!getScreen().isOtherScreen()) { getScreen().showTarget(this); }

[Sikuli-driver] [Bug 1573564] Re: [1.1.0] Location.getRobotForPoint don't return good robot

2016-04-27 Thread David ENJOLRAS
Does this mean that you officially drop the support of Alternative Screen/Robot like the VNCScreen ? -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1573564 Title: [1.1.0] Location.getRobotForPoint

[Sikuli-driver] [Question #292577]: VNCScreen support ?

2016-04-27 Thread David ENJOLRAS
New question #292577 on Sikuli: https://answers.launchpad.net/sikuli/+question/292577 Hello, from a comment in Bug 1573564, I can understand that only 1 robot object will manage all Screen. Does this mean that you drop the support of Alternative Screen/Robot, like the one done for VNC by the U

[Sikuli-driver] [Question #406812]: VNC & capture

2016-12-16 Thread David ENJOLRAS
New question #406812 on Sikuli: https://answers.launchpad.net/sikuli/+question/406812 Hello. I restart doing some test with VNC. With the old version XXX I was able to open a VNC conenction and use "capture" But this old version has issue with "type" to enter text in the remote screen. I've now

[Sikuli-driver] [Question #643656]: vnc.newRegion

2017-06-13 Thread David ENJOLRAS
New question #643656 on Sikuli: https://answers.launchpad.net/sikuli/+question/643656 The doc : http://sikulix-2014.readthedocs.io/en/latest/screen.html#connecting-to-a-vnc-server-vncscreen Says to use vnc = vncStart("192.168.2.25") # some VNC Server in the local net remoteRegion = vnc.newRegio

[Sikuli-driver] [Question #643667]: vnc.click

2017-06-13 Thread David ENJOLRAS
New question #643667 on Sikuli: https://answers.launchpad.net/sikuli/+question/643667 I'm using 1.1.1 Built 2017-04-06 This simple code : vnc = vncStart("atemqesxhost21p", 5900) ApplyKeyboardButton = vnc.wait("ApplyKeyboard.png") vnc.click(ApplyKeyboardButton) Do a click at the center of the VN

[Sikuli-driver] [Question #643668]: vnc.capture

2017-06-13 Thread David ENJOLRAS
New question #643668 on Sikuli: https://answers.launchpad.net/sikuli/+question/643668 Using 1.1.1 build 2017-06-04 2 Strange issues : vnc = vncStart("atemqesxhost21p", 5900) ApplyKeyboardButton = vnc.wait("ApplyKeyboard.png") test = Region(100,100,600,310) img = vnc.capture(test) 1) ==> If I co

Re: [Sikuli-driver] [Question #643668]: vnc.capture

2017-06-13 Thread David ENJOLRAS
Question #643668 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643668 Status: Needs information => Open David ENJOLRAS gave more information on the question: The VNC server is an VMWARE ESX server 6.0.0 https://pubs.vmware.com/workstation-9/index.jsp?to

[Sikuli-driver] [Bug 1698094] [NEW] Region.paste return0 despite done

2017-06-15 Thread David ENJOLRAS
Public bug reported: With SIKULIX 1.1.2 2017-06-04 notepad = find("NotePad.png") print("notepad: %s" % notepad ) PastResult = notepad.paste("test") print("PastResult: %d" % PastResult ) = The text "test" is well added in the NotPad output is : notepad: M[21,553 376x158]@S(

[Sikuli-driver] [Question #645284]: vnc & exit

2017-06-27 Thread David ENJOLRAS
New question #645284 on Sikuli: https://answers.launchpad.net/sikuli/+question/645284 code: vnc = vncStart("atemqesxhost21p", 5901) vnc.stop exit(0) generate : CConnection: Server supports RFB protocol version 3.8 CConnection: Using RFB protocol version 3.8 [error (28/06/17 08:10:18)] script [

Re: [Sikuli-driver] [Question #645284]: vnc & exit

2017-06-27 Thread David ENJOLRAS
Question #645284 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/645284 Description changed to: code: vnc = vncStart("atemqesxhost21p", 5901) vnc.stop exit(0) generate : CConnection: Server supports RFB protocol version 3.8 CConnection: Using RFB protocol version 3.8 [error (2

Re: [Sikuli-driver] [Question #645284]: vnc & exit

2017-06-29 Thread David ENJOLRAS
Question #645284 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/645284 Status: Needs information => Open David ENJOLRAS gave more information on the question: that's all I have. maybe a blank line in the top of my script ? -- You received this question noti

Re: [Sikuli-driver] [Question #645284]: vnc & exit

2017-06-29 Thread David ENJOLRAS
Question #645284 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/645284 Status: Open => Solved David ENJOLRAS confirmed that the question is solved: vnc.stop() is the solution ! -- You received this question notification because your team Sikuli Drivers is an ans

Re: [Sikuli-driver] [Question #643668]: vnc.capture

2017-06-30 Thread David ENJOLRAS
Question #643668 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643668 David ENJOLRAS posted a new comment: Hello, I'm trying to debug this issue, but have question about accesing the sources. Seems the VNC part is now in the SikuliX-2014 sources, but in a sikulix2tig

[Sikuli-driver] [Question #658004]: Location: outside any screen at startup

2017-09-14 Thread David ENJOLRAS
New question #658004 on Sikuli: https://answers.launchpad.net/sikuli/+question/658004 I have the message "Location: outside any screen (45924672, 45924672)' at a regular basis. I've modified the code to dump stack in such case and have this : [error] 10:48:45 Location: outside any screen (38977

Re: [Sikuli-driver] [Question #658004]: Location: outside any screen at startup

2017-09-14 Thread David ENJOLRAS
Question #658004 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658004 Status: Needs information => Open David ENJOLRAS gave more information on the question: I'm running sikuli by command line, On same system, Multiple test run well, and some fails. The parti

Re: [Sikuli-driver] [Question #643668]: vnc.capture

2017-09-14 Thread David ENJOLRAS
Question #643668 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643668 David ENJOLRAS posted a new comment: Found the issues : 1) ==> If I comment the "vnc.wait" line, then the capture is a black image We indeed need a small wait, a simple sleep(1) after vncstart