Re: [Sikuli-driver] [Question #273847]: OCR find ("text") returns [error] Image: could not be loaded

2015-11-10 Thread joe fu
Question #273847 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273847

Status: Answered => Open

joe fu is still having a problem:
The IDE is still treating the text as image file when doing
find('text').

how to switch on text features in IDE ?
do I need to launch it with ocr option?

I have installed it with all options enabled including the OCR feature

I have turned on the text search on IDE preferences.

I've add at the top of the IDE screen to turn on OCR search.
Settings.OcrTextRead=True
Settings.OcrTextSearch=True

-- 
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 #273847]: OCR find ("text") returns [error] Image: could not be loaded

2015-11-10 Thread joe fu
Question #273847 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273847

joe fu posted a new comment:
btw, print SCREEN.text() works in my IDE.

-- 
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-10 Thread Eugene S
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Eugene S requested more information:
I'm sorry, maybe I misunderstood your situation.
Do you have a script in a *.py file and you try to run it  from command line?

-- 
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-10 Thread Dwarika
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Dwarika posted a new comment:
yes. its ok.. Let me know is there any thing by which i can increase the
robustness. in current situation some times it works fine some time not.

-- 
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 #272926]: How to run .skl under sikuli 1.1.0

2015-11-10 Thread can
Question #272926 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/272926

Status: Answered => Solved

can 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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-10 Thread Dwarika
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Dwarika posted a new comment:
yes got it .but where shall i edit this parameter value. or below is the
way

C:\sikulix\sikuleide.bat -r a.sikuli settings.showactions=true  (is this
the way)

-- 
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 #254534]: ocr parameters in java

2015-11-10 Thread JonyGreen
Question #254534 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254534

JonyGreen posted a new comment:
I'm not a developer, i always use the free online ocr http://www.online-
code.net/ocr.html to recognize and scan text from image.

-- 
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-10 Thread Dwarika
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Dwarika posted a new comment:
 File 
"C:\Users\ADMINI~1\AppData\Local\Temp\2\sikuli-tmp8142810557883572720.py", line 
1, in 
 settings.showactions=true

throwing the above error

-- 
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 #273398]: Is these a way to obtain variable data types in IDE Sikuli

2015-11-10 Thread can
Question #273398 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273398

Status: Answered => Open

can is still having a problem:
About Q1:
Thank youThank you very much RaiMan.
After changing into Match type, the expected results are obtained.

About Q2:
Whether there is a way to automatically handle the Pattern type in the 
screenshot?
and I think it will be better.

-- 
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-10 Thread Dwarika
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Dwarika posted a new comment:
i wanted to run in slow motion just to have the robustness. is there any
thing by which i can increase the robustness of the script.

please help. its urgent.

-- 
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-10 Thread Eugene S
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Eugene S proposed the following answer:
you should include it in your script 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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-10 Thread Eugene S
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Eugene S proposed the following answer:
I am sorry but have to be more specific. If you want the script to run
slower you can try different techniques. For example:

1. wait for a pattern to appear
wait("pattern.png", waitTime)

2. insert wait time explicitly
import time
time.sleep(waitTime)

3. you can play with sikuli settings class I mentioned before.
Have a look here
http://doc.sikuli.org/region.html#Region.setAutoWaitTimeout

-- 
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 #273271]: After modifying the name of the screen capture is not used

2015-11-10 Thread can
Question #273271 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273271

Status: Answered => Solved

can confirmed that the question is solved:
i got it.
This option has not been turned on due to the entire project architecture.
Thank you very much for your answer.

-- 
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-10 Thread Eugene S
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Eugene S requested more information:
I'm sorry but did you read my previous reply?

-- 
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 #273957]: How to run sikuli script in slow motion using Command line

2015-11-10 Thread Dwarika
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Dwarika posted a new comment:
i want the script to be robust ..it is giving intermittent error. some
time its working fine and some time not. i got below solution but not
sure where to add this parameter , i mean in which file.

Sikuli is too slow or not robust. What can I do?
You can tune a parameter of the vision algorithm, MinTargetSize, to speed up 
the matching process or make it more robust.

1from org.sikuli.script.natives import Vision
2
3Vision.setParameter("MinTargetSize", 6) # A small value such as 6 makes the 
matching algorithm be faster.
4Vision.setParameter("MinTargetSize", 18) # A large value such as 18 makes the 
matching algorithm be more robust.

-- 
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 #273995]: If there is a change in the function behavior such as wait, exists, find

2015-11-10 Thread can
New question #273995 on Sikuli:
https://answers.launchpad.net/sikuli/+question/273995

The behavior of these functions (such as wait, exists, find) appears to be 
changed after the upgrade of the Sikuli (1.0.rc3 -> 1.1.0)

the code:
click(DropDownBoxPic)
r = exists(pic1) / r = find(pic1) / r = wait(pic1)

In v1.0rc3:
After the execution of the code, the drop-down box is still unfolding

In v1.1.0:
After the execution of the code, the drop-down box has been retracted

my question:
Is this new feature in v1.1.0?
What method can have such effect, let drop down list has been in the expansion 
state in v1.1.0 ?







-- 
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 #274000]: APP property settings

2015-11-10 Thread can
New question #274000 on Sikuli:
https://answers.launchpad.net/sikuli/+question/274000

When open the APP (such as the browser), set the APP property (such as the 
browser, the browser's zoom level)
if there is such a function in Sikuli.

-- 
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 #274001]: Web page image matching, thumbnail similarity

2015-11-10 Thread can
New question #274001 on Sikuli:
https://answers.launchpad.net/sikuli/+question/274001

I would like to know that the same web in different browsers can not match.
The capture of IE browser cann't match the seem like a similar area in Firefox 
or chrome.
What factors affect the Sikuli? the pixel, the brightness or others.

Whether there is a way to do what is compatible with different browsers?

Express my thanks to the answer

 


-- 
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 #273986]: Script won't stop

2015-11-10 Thread Ben
Question #273986 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273986

Status: Needs information => Open

Ben gave more information on the question:
while True:
Try:
#code goes here
Except:
X=1
On Tue, 10 Nov 2015 at 02:22, Eugene S 
wrote:

> Your question #273986 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/273986
>
> Status: Open => Needs information
>
> Eugene S requested more information:
> Can you post the code?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/sikuli/+question/273986
>
> You received this question notification because you asked the 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 #274003]: Can't run Sikuli from cygwin

2015-11-10 Thread Barry Adams
Question #274003 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/274003

Description changed to:
I'm trying to remotely run a sikuliX script from cygwin via SSH. When i
run it locally using a BAT file, it runs correctly. But when i run from
cygwin calling the same BAT file the script starts but all the clicks
fails.

I'm running CYGWIN_NT-6.1 LCU219678 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 
Cygwin
On Windows Visita. Microsoft Windows [Version 6.1.7601]


[log] CLICK on L(145,980)
[error] Location: outside any screen (9016616, 9016616) - subsequent actions 
might not work as expected
[error] Location: outside any screen (145, 980) - subsequent actions might not 
work as expected
[error] Location: outside any screen (9016616, 9016616) - subsequent actions 
might not work as expected
E  test 
(FNC_POS_SS10_Add_CreditOver20_InMenu_To_Game_Start_Session.AddCreditOver20InMenuToGameStartSession)
[error] Location: outside any screen (145, 980) - subsequent actions might not 
work as expected

And many more.

Somehow remote access  cygwin is  preventing correct access to the screen. The 
screen is still on, and the application to be
tested is running. Any ideas.

-- 
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 #274003]: Can't run Sikuli from cygwin

2015-11-10 Thread Barry Adams
New question #274003 on Sikuli:
https://answers.launchpad.net/sikuli/+question/274003

I'm trying to remotely run a sikuliX script from cygwin via SSH. When i run it 
locally using a BAT file, it runs correctly. But when i run from cygwin 
remotely the script starts but all the clicks fails

[log] CLICK on L(145,980)
[error] Location: outside any screen (9016616, 9016616) - subsequent actions 
might not work as expected
[error] Location: outside any screen (145, 980) - subsequent actions might not 
work as expected
[error] Location: outside any screen (9016616, 9016616) - subsequent actions 
might not work as expected
E  test 
(FNC_POS_SS10_Add_CreditOver20_InMenu_To_Game_Start_Session.AddCreditOver20InMenuToGameStartSession)
[error] Location: outside any screen (145, 980) - subsequent actions might not 
work as expected

And many more.

Somehow remote access via cygwin is  preventing correct access to the screen. 
The screen is still on, and the application to be
tested is running. Any ideas.

-- 
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 #274033]: How to include two images under the same line of code

2015-11-10 Thread Shane
New question #274033 on Sikuli:
https://answers.launchpad.net/sikuli/+question/274033

Hey, 

Trying to write code so that if two images appear on screen at the same time it 
will just loop back to the beginning. The problem is if only one of the images 
appears it still loops. How can I make it so that Sikuli proceeds going down 
the lines if one image appears but not two. 

while exists(Pattern("image1.png").exact())and 
exists(Pattern("image2.png").exact()):
sleep(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