Re: [Sikuli-driver] [Question #692812]: SikuliLibrary: Problem with Click on Region

2020-09-09 Thread MAR
Question #692812 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692812

MAR posted a new comment:
Thank you RaiMan for your answer.

In fact Click On Region [0, 0, 1280, 1080] doesn't work too.
Normally the image is needed, examples from SikuliLibrary :
Click on region [x,y,w,h]   image.png   
Click on region [x,y,w,h]   image.png   0   
Click on region [x,y,w,h]   image.png   0   2
http://rainmanwy.github.io/robotframework-SikuliLibrary/doc/SikuliLibrary.html

I ask the question to rainmanwy.

Best regards

-- 
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 #692812]: Problem for using some Sikuli keywords with robotframework

2020-09-08 Thread MAR
New question #692812 on Sikuli:
https://answers.launchpad.net/sikuli/+question/692812

Hello,

- I have a problem for using "Click On Region" keyword, I use it like this:
Click On Region[${x},${y},${w3},${h2}]TMS.png
I obtain error: 
00:00:00.001 KEYWORD SikuliLibrary . Click On Region [${x},${y},${w3},${h2}], 
TMS.png
Documentation:  
Click On Region there's no offset to be configured works with the keyword Get 
Extended Region From
Start / End / Elapsed:  20200908 17:03:07.557 / 20200908 17:03:07.558 / 
00:00:00.001
17:03:07.558FAILKeyword 'SikuliLibrary.Click On Region' expected 1 
argument, got 2.

Before I calculate coordinates need like this:
@{screencoordinates}=Get Screen Coordinates
${x}Set variable@{screencoordinates}[0]
${y}Set variable@{screencoordinates}[1]
${w}Set variable@{screencoordinates}[2]
${h}Set variable@{screencoordinates}[3]
${w3}=Evaluate${w}/3
${h2}=Evaluate${h}/2
${w32}=Evaluate${w3}*2

I obtain the same problem if I enter the coordinates directly: Click On 
Region[0, 0, 1280, 1080]TMS.png

=> I use keywords from this guide: 
http://rainmanwy.github.io/robotframework-SikuliLibrary/doc/SikuliLibrary.html
It seems me correctly write, why I obtain:  "Keyword 'SikuliLibrary.Click On 
Region' expected 1 argument, got 2." ?

- Also I got a problem with "Highlight Region" keyword, I use it like this:
Highlight Region[0, 0, 1280, 1080]3

I obtain error:

00:00:00.004 KEYWORD SikuliLibrary . Highlight Region [0, 0, 1280, 1080], 3
Documentation:  

Highlight region
Start / End / Elapsed:  20200908 17:20:25.645 / 20200908 17:20:25.649 / 
00:00:00.004
17:20:25.649INFOParams: [[0, 0, 1280, 1080], 3] 
17:20:25.649FAILjava.lang.NullPointerException: null
17:20:25.649DEBUG   java.lang.NullPointerException
at 
com.github.rainmanwy.robotframework.sikulilib.keywords.ScreenKeywords.highlightRegion(ScreenKeywords.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.robotframework.javalib.reflection.KeywordInvoker.invoke(KeywordInvoker.java:50)
at 
org.robotframework.javalib.beans.annotation.AnnotationKeywordExtractor$1.execute(AnnotationKeywordExtractor.java:62)
at 
org.robotframework.javalib.library.KeywordFactoryBasedLibrary.runKeyword(KeywordFactoryBasedLibrary.java:37)
at 
org.robotframework.javalib.library.AnnotationLibrary.runKeyword(AnnotationLibrary.java:81)
at 
com.github.rainmanwy.robotframework.sikulilib.SikuliLibrary.runKeyword(SikuliLibrary.java:40)
at 
com.github.rainmanwy.robotframework.sikulilib.SikuliLibrary.runKeyword(SikuliLibrary.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.robotframework.remoteserver.library.DynamicApiRemoteLibrary.runKeyword(DynamicApiRemoteLibrary.java:65)
at 
org.robotframework.remoteserver.servlet.ServerMethods.run_keyword(ServerMethods.java:90)
at 
org.robotframework.remoteserver.servlet.ServerMethods.run_keyword(ServerMethods.java:154)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:115)
at 
org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.execute(ReflectiveXmlRpcHandler.java:106)
at 
org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:46)
at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:86)
at 
org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:200)
at 
org.apache.xmlrpc.webserver.XmlRpcServletServer.execute(XmlRpcServletServer.java:112)
at 
org.apache.xmlrpc.webserver.XmlRpcServlet.doPost(XmlRpcServlet.java:196)
at 
org.robotframework.remoteserver.servlet.RemoteServerServlet.doPost(RemoteServerServlet.java:122)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at 
org.robotframework.remoteserver.servlet.RemoteServerServlet.service(RemoteServerServlet.java:102)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)
at 

Re: [Sikuli-driver] [Question #670157]: Problem Offline Setup with 1.1.2

2018-09-04 Thread MAR
Question #670157 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/670157

Status: Answered => Solved

MAR 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 #670157]: Problem Offline Setup with 1.1.2

2018-06-12 Thread MAR
New question #670157 on Sikuli:
https://answers.launchpad.net/sikuli/+question/670157

Hello everybody,

Offline Setup with 1.1.2 doesn't work.

1.1.1 doesn't exist in Offline Setup.

I could install and setup with 1.1.0. So I work with this release.

What is the problem with 1.1.2?
(I noticed that the lib is sikulixlibswin-1.1.1.jar and not 
sikulixlibswin-1.1.2.jar, common lib?)

Note: I'm using Windows 7 Professionnel / 64 bits

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 #670126]: Diffence between the text registered in the script ant the text executed

2018-06-11 Thread MAR
Question #670126 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/670126

Status: Answered => Solved

MAR confirmed that the question is solved:
Thank you for your quick response.
I introduced a script to automatically set the keyboard from FR (AZERTY) to 
EN/US (QWERTY) during the execution. Now it works.
OK for your first comment.
Best regards

-- 
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 #670126]: Diffence between the text registered in the script ant the text executed

2018-06-11 Thread MAR
New question #670126 on Sikuli:
https://answers.launchpad.net/sikuli/+question/670126

Hello,

I want to do a Remote Desktop, the script does:
- Open a Remote Desktop thanks to openApp("mstc.exe")  => OK
- Wait the field to enter the text => OK
- Enter the text in the field thanks to : type("terrain1"+Key.ENTER)   => NOK
=> The text entered during the execution of the script is terrain& instead of 
terrain1. 
   The "1" is replaced by "&".

Have you an idea of this problem?

Nota: I use Sikuli 1.1.0 / 64-bit

Thank you in advance for your response.

Best regards,
Laurent

-- 
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 1776199] [NEW] Diffence between the text registered in the script ant the text executed

2018-06-11 Thread MAR
Public bug reported:

Hello,

I want to do a Remote Desktop, the script does:
- Open a Remote Desktop thanks to openApp("mstc.exe")  => OK
- Wait the field to enter the text => OK
- Enter the text in the field thanks to : type("terrain1"+Key.ENTER)   => NOK
=> The text entered during the execution of the script is terrain& instead of 
terrain1. 
   The "1" is replaced by "&".

Have you an idea of this problem?

Nota: I use Sikuli 1.1.0 / 64-bit

Thank you in advance for your response.

Best regards,
Laurent

** Affects: sikuli
 Importance: Undecided
 Status: New

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

Title:
  Diffence between the text registered in the script ant the text
  executed

Status in Sikuli:
  New

Bug description:
  Hello,

  I want to do a Remote Desktop, the script does:
  - Open a Remote Desktop thanks to openApp("mstc.exe")  => OK
  - Wait the field to enter the text => OK
  - Enter the text in the field thanks to : type("terrain1"+Key.ENTER)   => NOK
  => The text entered during the execution of the script is terrain& instead of 
terrain1. 
 The "1" is replaced by "&".

  Have you an idea of this problem?

  Nota: I use Sikuli 1.1.0 / 64-bit

  Thank you in advance for your response.

  Best regards,
  Laurent

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1776199/+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] [Question #251337]: Speed up recognition of absent image

2014-07-08 Thread Mar
New question #251337 on Sikuli:
https://answers.launchpad.net/sikuli/+question/251337

Finding a present image seems to work pretty fast, however, when the image is 
absent, sikuli takes a long time before it declared the image not found. Is it 
possible to speed up this process? I already minimized the image size and 
search region. I tried setting minTargetSize parameter, but it doesn't seem to 
have much effect.

Vision.setParameter(MinTargetSize, 6)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #250891]: setting MinTargetSize: no module named proxies

2014-06-28 Thread Mar
New question #250891 on Sikuli:
https://answers.launchpad.net/sikuli/+question/250891

Im trying to set the minTargetSize parameter and have trouble importing Vision. 
At first I tried using

from org.sikuli.script.natives import Vision

then I found that it was changed to

from org.sikuli.basics.proxies import Vision


this too, however, returns an error:

[error] ImportError ( No module named proxies )


-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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