Re: [Sikuli-driver] [Question #690970]: s.type() function sometimes does not work properly

2020-05-25 Thread masuo
Question #690970 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690970

Status: Open => Answered

masuo proposed the following answer:
There is a similar question.
https://answers.launchpad.net/sikuli/+question/690543

-- 
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 #690970]: s.type() function sometimes does not work properly

2020-05-25 Thread Karan Joshi
New question #690970 on Sikuli:
https://answers.launchpad.net/sikuli/+question/690970

Hello RaiMan, 
I am using sikuli from last 3 months. However, I am facing 
an issue regarding sikuli type() function. It works perfectly 10 out of 6-7 
times but sometimes it skip first character. I don't know what's going wrong.
For example, s.type("Hello") turns into "ello" .
And as I told you this does not happen always. 
So, can you please help me about what should I do so that it always work 
properly.

-- 
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 #690968]: opencv_java342.dll: Can't find dependent libraries

2020-05-25 Thread Colin Lin
New question #690968 on Sikuli:
https://answers.launchpad.net/sikuli/+question/690968

hello! I am using SikuliX 2.0.4 in my computer which os is windows embedded 
standard system (Service Pack 1 ) and I got some error.
error : 
C:\Users\Admin.AUTOBVT-NJMAC0R\AppData\Roaming\Sikulix\SikulixLibs\opencv_java342.dll:
 Can't find dependent libraries
But I check the path there is opencv_java342.dll no doubt. I want to ask is 
there any solution to solve this problem? Or SikuliX just can't run in windows 
embedded standard system? thx

-- 
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 #690954]: findText("string") not working with Sikulixapi 2.0.4

2020-05-25 Thread masuo
Question #690954 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690954

Status: Open => Answered

masuo proposed the following answer:
image find API was revised in version 2.0.2
There is an answer for your question.

https://sikulix-2014.readthedocs.io/en/latest/news.html#revision-of-the-image-find-api
The old behavior of find(someText) is now switched off in the standard, but can 
be switched on by intention (Settings.SwitchToText). But if switched on, the 
ImageMissing feature is not available. In doubt it is recommended, to change 
the function calls to their text equivalents, if text search is the intention.

https://sikulix-2014.readthedocs.io/en/latest/news.html#revision-of-the-
text-find-api

-- 
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 #690954]: findText("string") not working with Sikulixapi 2.0.4

2020-05-25 Thread Shane Paes
Question #690954 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690954

Summary changed to:
findText("string") not working with Sikulixapi 2.0.4

Description changed to:
This is my code

Settings.OcrTextRead = true;
Settings.OcrTextSearch = true;

Region RegionShapeMarkup = new Region(4,4,269,165);
String TextBoxLabelName= "Shape";
Match TextBoxLabelNameFound = RegionShapeMarkup.find(TextBoxLabelName);
if (TextBoxLabelNameFound != null)
{
RegionShapeMarkup.click (TextBoxLabelNameFound.offset(0, -30));
}

the script fails with error
FindFailed: Shape.png: (0x0) in R[4,4 269x165]@S(0)

even though searching for text, script fails with error shape.png not
found.

Test environment:
Windows 10 64bit, JAVA11

Any help on this issue will be appreciated.

-- 
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 #690954]: findText("string") not working with Sikilixapi 2.0.4

2020-05-25 Thread Shane Paes
New question #690954 on Sikuli:
https://answers.launchpad.net/sikuli/+question/690954

This is my code

Settings.OcrTextRead = true;
Settings.OcrTextSearch = true;

Region RegionShapeMarkup = new Region(4,4,269,165);
String TextBoxLabelName= "Shape";
Match TextBoxLabelNameFound = RegionShapeMarkup.find(TextBoxLabelName);
if (TextBoxLabelNameFound != null)
{
RegionShapeMarkup.click (TextBoxLabelNameFound.offset(0, -30));
}

the script fails with error
FindFailed: Shape.png: (0x0) in R[4,4 269x165]@S(0)

even though searching for text, script fails with error shape.png not found.

Any help on this issue will be appreciated.

-- 
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 #690949]: Unable to access Images inside executable jar

2020-05-25 Thread Prathima Lydia
New question #690949 on Sikuli:
https://answers.launchpad.net/sikuli/+question/690949

I am using Eclipse IDE for development .

I am trying to make a executable jar and give it to others so that they can run 
it in their machine.

I have followed the below documentation to access the image files inside the 
jar 

( 
https://sikulix-2014.readthedocs.io/en/latest/scripting.html#image-search-path-where-sikulix-looks-for-image-files
 

String clazz = "testAPI.Test";
String imgFolder = "/imgs";
String img = "test.png";
 String inJarFolder = clazz + imgFolder;
ImagePath.add(inJarFolder)
)

With the above steps mentioned in the doc , the executable jar works fine and 
is able to access the image files  inside  the executable jar , when it is 
executed from my computer( the computer where the code was developed ) . 

when the same jar is executed in a different machine , it doesn't work. 

But the same code when run in eclipse IDE in a different machine works well and 
is able to identify images.

I want this jar to be working in other machines too . How can we resolve this ?

-- 
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 #690943]: Can SikuliX be used in windows embedded system?

2020-05-25 Thread Colin Lin
New question #690943 on Sikuli:
https://answers.launchpad.net/sikuli/+question/690943

hello! I am using SikuliX 2.0.4 in my computer which is windows embedded 
standard system (Service Pack 1 ) and I got some error.
error : 
C:\Users\Admin.AUTOBVT-NJMAC0R\AppData\Roaming\Sikulix\SikulixLibs\opencv_java342.dll:
 Can't find dependent libraries
But I check the path there is opencv_java342.dll no doubt. I want to ask is 
there any solution to solve this problem? Or SikuliX just can't run in windows 
embedded standard system? thx

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