Re: [Sikuli-driver] [Question #645358]: Scrollbar issue

2017-06-28 Thread Eugene S
Question #645358 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/645358

Status: Open => Answered

Eugene S proposed the following answer:
https://stackoverflow.com/questions/44807713/how-to-scroll-down-with-
sikuli/44814863#44814863

-- 
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 #578460]: What tesseract related improvements are expected with Sikuli 2?

2017-03-30 Thread Eugene S
Question #578460 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/578460

Status: Answered => Solved

Eugene S 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 #561293]: Move to some Coordinates

2017-03-21 Thread Eugene S
Question #561293 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/561293

Status: Open => Answered

Eugene S proposed the following answer:
Without going too deep into details, it does sound hard (or even
impossible) to do. The way Sikuli works is by matching previously stored
image patterns to whatever there is on the screen. The match will
evaluate to true of 2 images match with a certain degree of similarity
while it is not recommended to go below ~90%. From your description it
sounds like the environment you are thinking to automate is graphically
complex and contains constantly changing features. This is a problem
with Sikuli as the way it matches the patterns is pixel by pixel so even
slight changes in the picture will greatly reduce the match score to a
point where your matching will just become unreliable.

That being said, if I made a wrong assumption about the game's graphical
environment or if you could use some simplified mode to control your
movement (like an in-game minimap or something), there might be few
workarounds.

Let me know if what I said makes sense.

Cheers,
Eugene S

-- 
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 #578460]: What tesseract related improvements are expected with Sikuli 2?

2017-03-21 Thread Eugene S
Question #578460 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/578460

Status: Answered => Open

Eugene S is still having a problem:
Thanks for quick reply!

So basically what you are planning to do is just delegate the Tesseract
internals to Sikuli user? Am I right? Meaning that the user can have
some more access to Tesseract configuration through Sikuli.

Eugene

-- 
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 #578460]: What tesseract related improvements are expected with Sikuli 2?

2017-03-21 Thread Eugene S
New question #578460 on Sikuli:
https://answers.launchpad.net/sikuli/+question/578460

Hi RaiMan,

The question about tesseract performance have been asked here many times and in 
one of your answers you mentioned that some improvements are expected in Sikuli 
2. 

Now as far as I understand, the issues that most people experience with Sikuli 
+ tesseract (unreliable results...) are just a result of how tesseract itself 
works. So the poor results that tesseract based detection provides have nothing 
to do with Sikuli. And if that's the case I would be really interested to know 
what improvements you are planning to introduce? 

I would think that the only way to go is to configure and train tesseract 
itself.


Thanks,
Eugene

-- 
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 #294454]: can sikuli work invisible?

2016-05-26 Thread Eugene S
Question #294454 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294454

Status: Open => Answered

Eugene S proposed the following answer:
No, this is impossible.
Sikuli operates by locating visual patterns on the screen. If these patterns 
won't physically appear on the screen, they will not be detected.

Eugene

-- 
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 #293498]: Firefox font and font size

2016-05-09 Thread Eugene S
Question #293498 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293498

Eugene S posted a new comment:
As far as I am aware, the only way to change the font size in FF is using this 
add-on:
https://addons.mozilla.org/en-US/firefox/addon/theme-font-size-changer/

However I am not sure that's gonna fix your specific issue.

-- 
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 #293477]: How to Click on a particular icon and then click on a button that appears on the screen.

2016-05-09 Thread Eugene S
Question #293477 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293477

Status: Open => Answered

Eugene S proposed the following answer:
Debug your script and try to understand what actually happens. Use
highlight method to see what Sikuli finds on the screen.

Try:
Screen sc = new Screen(0);
sc.find("icon.png").highlight(1); 

Using highlight will do two things:
1. It will show a red frame around the pattern that it finds so you can clearly 
see what Sikuli treats as match.
2. It will print out the Match details like that:

[log] highlight M[68,610 11x14]@S(S(0)[0,0 1680x1050]) S:0.86 C:73,617
[444 msec] for 1.0 secs

Here, among the rest, you can see the Similarity score (S:0.86 -> 86% in
this case). So maybe you have another pattern on your screen that is
similar or almost similar to the pattern that you are trying to match
and it ends up with a false positive. In such case you should increase
the similarity score to a higher value.

-- 
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 #293475]: how to deal with visual differences between OS?

2016-05-09 Thread Eugene S
Question #293475 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293475

Status: Open => Answered

Eugene S proposed the following answer:
Your observation is correct. Since Sikuli uses OpenCV to work with
patterns on the screen, it does so on a pixel level. That means that if
the patterns have even slight differences, it might result in Sikuli
being unable to find the pattern on the screen. Saying that, given the
patterns are shown on the same resolution screen on different OSes, the
matching should still work.

There are few things that could be done to fine tune successful
detection results. If the differences are truly minor, you can change
the minimal similarity score to a lower value so that pattern that
matches with a lower percentage will still be considered as match.

In your case however, it looks like the differences are quite
significant so I don't think that this approach will suite you. I have
also noticed that the text on your images looks blurred. I am not sure
about OSX but in windows you can change that. There is the cleartype
setting and the "smooth edges of screen fonts" in Windows "Performance
Options". All these should be consistent between OSes.

-- 
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 #293226]: run sikuli from command line

2016-05-05 Thread Eugene S
Question #293226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293226

Eugene S proposed the following answer:
Assume the below code is stored in file named "testFile.py"

import sys

path1 = sys.argv[1]
path2 = sys.argv[2]

def comparePaths(arg1, arg2):
return arg1 == arg2

def someFunction(arg1, arg2):
print comparePaths(arg1,arg2)

#some other logic...


someFunction(path1, path2)


Then from command line you can run it like this:
testFile.py "C:\temp" "C:\temp2"

-- 
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 #293226]: run sikuli from command line

2016-05-04 Thread Eugene S
Question #293226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293226

Eugene S proposed the following answer:
I meant something this:

def comparePaths(arg1, arg2):
return arg1 == arg2

def someFunction(arg1, arg2):
#call comparePath() function from here when needed

-- 
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 #293226]: run sikuli from command line

2016-05-04 Thread Eugene S
Question #293226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293226

Eugene S proposed the following answer:
Generally, what you ask can look like this (if I understand your
question correctly):

path1 = "C:\\temp"
path2 = "C:\\temp"

compareResult = path1 == path2

def someFunction(arg1, arg2, arg3):
print arg1
print arg2
print arg3

#some other logic...

#usage
someFunction(path1, path2, compareResult)   


However I really struggle to understand why would you want something like that 
as it's not a very good practice. It will make more sense to evaluate the 
comparison between the two paths inside the same function rather than passing 
the comparison result together with paths.

-- 
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 #293226]: run sikuli from command line

2016-05-04 Thread Eugene S
Question #293226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293226

Eugene S posted a new comment:
I'm sorry but I think I lost you here as I am not sure what exactly are
you asking.

-- 
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 #293226]: run sikuli from command line

2016-05-04 Thread Eugene S
Question #293226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293226

Eugene S proposed the following answer:
I am not sure I understand. In the above way you can use the result of
the evaluation "path1 == path2" as you wish as it return True or False.

So you can assign it to another variable like that:

result = path1 == path2

if result == True:
print "result is True"
elif result == False:
print "result is False"

-- 
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 #293226]: run sikuli from command line

2016-05-03 Thread Eugene S
Question #293226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293226

Status: Needs information => Answered

Eugene S proposed the following answer:
So something like this?


path1 = raw_input('Enter path 1: ')
path2 = raw_input('Enter path 2: ')

print path1 == path2

-- 
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 #293226]: run sikuli from command line

2016-05-03 Thread Eugene S
Question #293226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293226

Eugene S requested more information:
Do you mean prompts for user input?

-- 
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 #293226]: run sikuli from command line

2016-05-03 Thread Eugene S
Question #293226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293226

Status: Open => Needs information

Eugene S requested more information:
Do you mean prompts for user input?

-- 
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 #293220]: Can't click when using a Match object - JAVA

2016-05-03 Thread Eugene S
Question #293220 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293220

Status: Open => Answered

Eugene S proposed the following answer:
I afraid this is not how it works.

What you are trying to do is to click the Iterator object while
what you really need to do is click on each one of the found elements
(if any). Try something like this:

ImagePath.setBundlePath("C:/temp/sikulipatterns/");
Screen s = new Screen();

Iterator results = s.findAll("eclipseDocIcon.png");

while (results.hasNext()) {
Match currentMatch = results.next();
currentMatch.highlight(1); //this helps to visualize the process and better 
understand what elements have been found
currentMatch.click(); 
}

-- 
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 #284449]: How to take action after a certain image flashes a certain number of times?

2016-02-02 Thread Eugene S
Question #284449 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/284449

Status: Open => Needs information

Eugene S requested more information:
hmm, a time interval that short might be a problem then as what you generally 
need to do is (without going into details):
1. Detect "win"
2. Detect that "win" does not appear anymore (between 2 flashes)
3. Add count 
4. If not 7 yest, wait for the next flash to appear (step 1)

So in that case, Sikuli might miss the periods when the "Win" text
disappears because it flashes too quick.

Can you limit the area where this text appears so that the search will be 
performed on a limited area? That will make it work faster.
In other words, do you know where to physically expect this text to appear?

-- 
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 #284449]: How to take action after a certain image flashes a certain number of times?

2016-02-02 Thread Eugene S
Question #284449 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/284449

Status: Open => Needs information

Eugene S requested more information:
So a "win" button can appear in between and in that case the count
restarts? what are the time intervals between when the text appears and
disappears?

-- 
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 #284449]: How to take action after a certain image flashes a certain number of times?

2016-02-02 Thread Eugene S
Question #284449 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/284449

Status: Open => Needs information

Eugene S requested more information:
does it appear and then disappear? what are the intervals?

-- 
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 #284364]: how to use while len(string) > 1 : ??

2016-02-02 Thread Eugene S
Question #284364 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/284364

Status: Open => Needs information

Eugene S requested more information:
When you say "it doesn't click", are you certain that what you are
looking for was actually found? let's start from here

-- 
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 #284340]: mmznnafa

2016-02-01 Thread Eugene S
Question #284340 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/284340

Status: Open => Invalid

Eugene S rejected the question:
This is spam

-- 
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 #283780]: how to change default screen to a custom region?

2016-01-31 Thread Eugene S
Question #283780 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/283780

Status: Open => Answered

Eugene S proposed the following answer:
Well, I think I know what your problem is. When you define a region in
Sikuli, it remains constant. Meaning that if you moved it elsewhere, you
will have to redefine it (or to find it again) to use. Moreover, you
must remember that the ONLY thing that Sikuli does is finds a predefined
patterns/regions on the screen precisely as they were saved. So if you
captured your region WITH some visual areas around it, then Sikuli sees
all that as a single pattern and will look for it exactly. So you must
make sure that no unrelated pixels are present in your capture. In some
cases, windows can be transparent and unrelated stuff might be visible
through the window. this is a problem too.

Please also note that I am not using IDE in my examples, I use Sikuli as
script from command line. Hence I do not capture the region like you do
from IDE. I do that with print screen and then just store it with my
script and refer to it using it's name, for example "pattern.png". This
is easier when you want to cut the image precisely in paint form
example.

To summarize:
1. If you created a region and it slightly changed - Sikuli won't find it
2. If you created a region and it moved- Sikuli won't find it


If you say that your pattern matched outside the region, that means that you 
didn't define the region correctly or doing something else funny. Try using 
find() inside the region rather than exists(). Like: region.find("pattern.png")

-- 
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 #283780]: how to change default screen to a custom region?

2016-01-31 Thread Eugene S
Question #283780 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/283780

Status: Open => Answered

Eugene S proposed the following answer:
Look, it is very hard to see the graphics on your screenshot but it does
look like something that I explained in my initial post. I will go
through the steps again.

1. Define a region you want to search and store it in a variable.
2. Create patterns of what you want to find in this region (you can only work 
with pre-defined patterns in Sikuli)
3. Search or wait for these patterns to appear in the region defined in step 1.

This is the same answer I gave in my first post. Does that make sense?
It it doesn't, what part of it is that you have a problem with?

-- 
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 #283780]: how to change default screen to a custom region?

2016-01-31 Thread Eugene S
Question #283780 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/283780

Status: Open => Needs information

Eugene S requested more information:
I guess you're right then and I probably do not understand what is the
problem you are facing. Would you mind try and explain it again?

As far as I understood your problem you have a specific physical and
constant region on your screen that you want to find something within
this region, is that correct?

-- 
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 #284226]: Sikulix, Jenkins, subsequent actions might not work as expected

2016-01-31 Thread Eugene S
Question #284226 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/284226

Status: Open => Needs information

Eugene S requested more information:
Do you have a multiple screen setup?

-- 
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 1540192] [NEW] Wrong Region parameters description documented

2016-01-31 Thread Eugene S
Public bug reported:

It seems that the parameters description is incorrect here:
http://doc.sikuli.org/region.html#Region.Region

Currently it says:

w – height of a rectangle.
h – width of a rectangle.

And probably should be:
h – height of a rectangle.
w – width of a rectangle.

** Affects: sikuli
 Importance: Undecided
 Status: New


** Tags: documentation

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

Title:
  Wrong Region parameters description documented

Status in Sikuli:
  New

Bug description:
  It seems that the parameters description is incorrect here:
  http://doc.sikuli.org/region.html#Region.Region

  Currently it says:

  w – height of a rectangle.
  h – width of a rectangle.

  And probably should be:
  h – height of a rectangle.
  w – width of a rectangle.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1540192/+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


Re: [Sikuli-driver] [Question #283780]: how to change default screen to a custom region?

2016-01-31 Thread Eugene S
Question #283780 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/283780

Status: Open => Answered

Eugene S proposed the following answer:
If you want to set a Region to a constant screen location just create a
new Region object while passing the pixel parameters to the constructor.
For example:

region = Region(x,y,w,h)

where:
x – x position of a rectangle.
y – y position of a rectangle.
w – width of a rectangle.
h – height of a rectangle.

like described here: http://doc.sikuli.org/region.html#Region.Region

-- 
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 #283780]: how to change default screen to a custom region?

2016-01-31 Thread Eugene S
Question #283780 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/283780

Status: Open => Answered

Eugene S proposed the following answer:
A region can be defined as simple as:

customReg = find("pattern.png")

then if you want to find something within that region you can act in a
similar manner:

wantToFind= customReg.find("anotherPattern.png")

-- 
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 #283903]: sikuli copy and paste

2016-01-29 Thread Eugene S
Question #283903 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/283903

Status: Open => Answered

Eugene S proposed the following answer:
In Sikuli you can use "type()" or "paste()" functions.
Have you tried these?

-- 
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 #276532]: A page has the same image in multiple areas. How will the script select the right one?

2015-12-03 Thread Eugene S
Question #276532 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/276532

Eugene S proposed the following answer:
Have a look at setROI() methods here:
http://doc.sikuli.org/region.html#Region.setROI

-- 
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 #276532]: A page has the same image in multiple areas. How will the script select the right one?

2015-12-02 Thread Eugene S
Question #276532 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/276532

Status: Open => Answered

Eugene S proposed the following answer:
If you have more than one image that will match your pattern you will
need to perform additional steps to ensure you are picking the correct
area.

There are many ways how you can solve this problem and it depends on
your particular case.

For example:
1. Extract the screen location of all matched regions and pick the correct one.
2. Use another pattern that is located closely to your area of interest as a 
pivot.
3. You can initially limit the search area, for example to only the left side 
of the screen.
4. etc..


Cheers,
Eugene

-- 
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 #274718]: IDE command wait("image") not waiting for image to appear before script continues

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

Eugene S proposed the following answer:
Well, the simplest solution to that would be just following an algorithm
like that:

1. If "Completed" detected, wait some time (if you know that it just flashes 
and disappears)
2. Check again
3. If still there --> means genuine "Completed"
4. If gone --> continue with the process


That algorithm can be buggy since theoretically it might find the "Completed" 
button twice while it was flashing and the process still running. So have a 
look at how likely that is to happen and tweak the wait times as you see fit.


Or perhaps you have any other indicators that can suggest that the process has 
not been completed yet despite the fact that the "Complete" button is showing.


Cheers,
Eugene

-- 
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 #274662]: execute other languages scripts in Sikuli's IDE

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

Status: Open => Answered

Eugene S proposed the following answer:
This is not an official 100% answer.

No, adding anything to your Python path will have no effect on Jython.
When launching Sikuli scripts, only the local folder is scanned.

-- 
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 #274647]: command line execution failing

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

Eugene S proposed the following answer:
add wait time and see what happens. maybe it click too early, before the
cursor is pointing on the correct object

-- 
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 #273859]: How can I bypass: AttributeError ( 'reflectedfunction' object has no attribute 'from_iterable' ) ?

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

Status: Open => Answered

Eugene S proposed the following answer:
It is unclear from you question what reflectedfunction is?

>From the error though you can see that it fail because reflectedfunction
object doesn't have a method called from_iterable.

-- 
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-18 Thread Eugene S
Question #273986 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273986

Status: Open => Answered

Eugene S proposed the following answer:
Tried Ctrl+C?

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

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

Status: Open => Answered

Eugene S proposed the following answer:
while exists("WIN7_START.png") and exists("AppiumTaskBarIcon.png")

works fine for me

-- 
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 #274127]: Not working methods of the class App - close(), focus(),

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

Eugene S proposed the following answer:
You are having this problem because of how you define your firefox
variable.

When you write:
firefox = App.open(r"C:\Program Files (x86)\Mozilla Firefox\firefox.exe")

you assign the output of whatever value that is created as a result of
EXECUTING the FireFox browser

The error:
[error] AttributeError ( 'NoneType' object has no attribute 'close' )

says exactly that.


To make it work properly, you must do it like was offered by @masuo and first 
create an instance of the type App. The you will be able to use the App methods 
on it.

-- 
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 #274662]: execute other languages scripts in Sikuli's IDE

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

Status: Open => Answered

Eugene S proposed the following answer:
Installing Python on your computer should not create any conflict with
Sikuli.

If you have an external script that you want to run, you can do it like
that:

os.system("command to run from command line")


For example (on Windows):

os.system("dir")


Cheers,
Eugene

-- 
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 #274766]: SikuliX v1.1.0 Java API supported OS's

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

Eugene S posted a new comment:
Hi,

Sikuli works fine fir me in Windows 7 as it should be.

Maybe posting your code will help?


Cheers

-- 
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 #274718]: IDE command wait("image") not waiting for image to appear before script continues

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

Status: Open => Answered

Eugene S proposed the following answer:
Hi,

That's perhaps a general recommendation on debugging Sikuli scripts
rather than the answer to your specific problem but still might prove
useful. So when something doesn't work as expected, you can try the
following steps to better understand what is actually going on.

1. First of all, wait times are often the issue. When something goes
wrong, first step is to place some sleep times between steps. Don't
forget that Sikuli doesn't wait for any action to complete and performs
the next line straight away. In some cases that might miss a minor
change on the screen and thus fail. A simple "time.sleep(waitTime)" will
work.

2. When debugging, it is crucial to know exactly where are you in your script 
as the failure might occur not where you think it is. To help with that I am 
suggesting to place few print statements in between the steps saying what is 
happening at this specific moment.
For example:

print "Going to click on image1"
click "image1.png"
print "image1 clicked

print "Going to wait for image2"
wait("image2.png")
print "image2 found"

3. Depending on your Sikuli MinSimilarity parameter, some areas might be
incorrectly detected. Meaning that the pattern was found on the screen
which is not the one you expected. To solve that, you might want to use
highlight() function which will put a red frame around the eras on the
screen that was detected.

For example:
area1 = "image1.png"
foundPattern = find(area1)
foundPattern.highlight(1)  # show the red frame for one second


Hope that helps.


Cheers,
Eugene

-- 
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 #274061]: How to Set Up a Basic Loop

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

Status: Open => Answered

Eugene S proposed the following answer:
try adding an additional wait just before your:

 doubleClick(x)

It looks that at the moment thsi double click happens immediately after
click(b) which might be the cause of your problem.

-- 
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 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 #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 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-09 Thread Eugene S
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Eugene S proposed the following answer:
You asked for a switch that will turn on the slow motion effect like it has in 
GUI.
I think that Settings.ShowActions does that.

Please try it. For example:

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

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

Status: Needs information => Answered

Eugene S proposed the following answer:
try Settings.ShowActions

-- 
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-09 Thread Eugene S
Question #273957 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/273957

Status: Open => Needs information

Eugene S requested more information:
Please provide more details?
What do you mean by slow motion? Delays between actions? Mouse movement?

-- 
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 #273982]: Does smaller region make finding image more effective?

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

Status: Open => Answered

Eugene S proposed the following answer:
Depends what you mean by "effective".

Defining a smaller region will indeed be more effective in terms of search time.
But if you mean more effective in terms of finding or not finding a pattern on 
the screen then it makes no difference, just takes longer.

-- 
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-09 Thread Eugene S
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?

-- 
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 #271443]: How can I input a number and accept it as an integer in sikuli?

2015-09-15 Thread Eugene S
Question #271443 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/271443

Status: Open => Answered

Eugene S proposed the following answer:
what's wrong with the solution I offered?

-- 
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 #271443]: How can I input a number and accept it as an integer in sikuli?

2015-09-15 Thread Eugene S
Question #271443 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/271443

Status: Open => Answered

Eugene S proposed the following answer:
this has nothing to do with Sikuli but...

input doesn't have the ability to check the input type. You will have to
process it yourself. Below is a trivial example:

while True:
if type(input("Input a number")) is int:
print "That's an integer"
break
else:
print "That's not an integer. Enter integer!"

-- 
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 #271428]: I would like to compare an image to the screen

2015-09-15 Thread Eugene S
Question #271428 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/271428

Status: Open => Needs information

Eugene S requested more information:
Hi,

Could you please describe more generally what you want to achieve?

-- 
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 #271036]: Text Search and OCR / Sikuli's Text Recognition

2015-09-02 Thread Eugene S
Question #271036 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/271036

Status: Open => Answered

Eugene S proposed the following answer:
Hi,

You can use text recognition like that:

Settings.OcrTextRead = true;
Region sc = new Screen(0);
sc.findText("text").highlight(1);


Text recognition doesn't always work as expected. In many cases the text will 
not be recognized.
To see what is exactly recognized on your current screen, you can try to read 
the whole screen and check whether the text you are trying to find was detected:

Region sc = new Screen(0);
System.out.println(sc.text());


It is possible to fine tune the Tesseract to better recognize your specific 
font. You can try and Google it.

-- 
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 #270620]: error with sikuli

2015-08-23 Thread Eugene S
Question #270620 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/270620

Status: Open => Answered

Eugene S proposed the following answer:
That looks like your image just was not found on the screen.

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


Re: [Sikuli-driver] [Question #270564]: How to read a text using a image in SIKULI?

2015-08-19 Thread Eugene S
Question #270564 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/270564

Status: Open => Answered

Eugene S proposed the following answer:
Not sure what you mean. Do you want to find an object using text on the screen?
Text recognition feature is not 100% reliable at the moment so if your text is 
constant you can just make a pattern out of it and then look for that pattern 
on the screen.

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


Re: [Sikuli-driver] [Question #236452]: Continue script execution despite error

2015-08-19 Thread Eugene S
Question #236452 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236452

Eugene S posted a new comment:
please start a new question

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


Re: [Sikuli-driver] [Question #269898]: Project names confusion

2015-08-18 Thread Eugene S
Question #269898 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269898

Description changed to:
Hi RaiMan,

It seems that I am bit confused about the Sikuli project names. I
thought I understand how they are organized but after going through some
of the questions I am not longer sure.

Please find my questions below:

1. So we have this Sikuli API project:
https://code.google.com/p/sikuli-api/

As far as I understand, this one has nothing to do with you and is a
completely separate project. Is that correct?

2. Then we have this SikuliX API project:
https://github.com/RaiMan/SikuliX-2014/tree/master/API

That actually IS your project that you support.

3.  In the above mentioned github, you have multiple modules, one of them is 
API.
So if I want to use the code for testing (similarly as I am using sikuli script 
with jython), which one of these modules should I use. I see 2 options there: 
API or Libswin.

4. If I create new project from scratch and I want to add Sikuli script
dependency in my pom.xml, what artefact/groupID should i use? I found
few references in the documentation and ended up using some combination
of these. Can you please specify what is the correct pom configuration?


Thanks in advance!!
Eugene S

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


Re: [Sikuli-driver] [Question #269933]: Selecting text randomly

2015-08-18 Thread Eugene S
Question #269933 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269933

Status: Open => Needs information

Eugene S requested more information:
I think I understand the question but you didn't say what's currently
wrong with this code example that you attached. Errors? anything? How
does it fail?

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


Re: [Sikuli-driver] [Question #269933]: Selecting text randomly

2015-08-17 Thread Eugene S
Question #269933 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269933

Status: Open => Answered

Eugene S proposed the following answer:
Hi,

I am still having a trouble understanding what is that you are trying to
do and what doesn't work for you. You started talking about randomly
picking a paragraph and what was my first question to you. How do you
define a paragraph? Sikuli doesn't know what paragraph is. You have to
VISUALLY define it. That means, for example, to take a screenshot of the
paragraph. But since in your case you want it random, you will have to
define another region and use it as a pivot and locate the paragraphs
based on that region. Hopefully this is clear.

Now to your other question regarding the code that didn't work for you
with holding the mouse and dragging it. What exactly didn't work? Did
you get any errors? Did anything unexpected happen?

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


Re: [Sikuli-driver] [Question #270374]: Questions on functional capabilities of Sikuli

2015-08-14 Thread Eugene S
Question #270374 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/270374

Status: Open => Answered

Eugene S proposed the following answer:
Regarding all your text recognition questions

Sikuli is using Tesseract OCR which is a well known OCR engine. It has its 
limitation and in case of working in a bundle with Sikuli still requires some 
work. 
You can still work directly with Tesseract to try to improve the quality of 
recognition. You can find plenty of articles and tutorials on that topic.
Actually for all your question regarding language support and recognition 
improvement refer to Tesseract documentation directly.


Regarding image recognition
Sikuli's image matching feature is based on OpenCV's matchTemplate() (you can 
see the exact algorithm here: 
http://docs.opencv.org/modules/imgproc/doc/object_detection.html). 
If you have another efficient image matching algorithm that might be 
implemented, feel free to do so.


Not so sure what you meant by  "image recognition failure mitigation"

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


Re: [Sikuli-driver] [Question #270344]: Problem with maven and org.sikuli.script

2015-08-13 Thread Eugene S
Question #270344 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/270344

Status: Open => Answered

Eugene S proposed the following answer:
That should suffice:

com.sikulix
sikulixapi
1.1.0-SNAPSHOT

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


Re: [Sikuli-driver] [Question #105543]: How to paste individual fields from external list

2015-08-06 Thread Eugene S
Question #105543 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/105543

Eugene S posted a new comment:
Please post your new question separately.

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


Re: [Sikuli-driver] [Question #270046]: user debug statement doesnt work

2015-08-05 Thread Eugene S
Question #270046 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/270046

Status: Open => Answered

Eugene S proposed the following answer:
Did you import sikuli library properly?

from sikuli import *

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


Re: [Sikuli-driver] [Question #270046]: user debug statement doesnt work

2015-08-05 Thread Eugene S
Question #270046 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/270046

Status: Open => Answered

Eugene S proposed the following answer:
I think you should use setUserLogFile without the Debug class.

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


Re: [Sikuli-driver] [Question #269984]: Using Sikulii for a desktop application

2015-08-04 Thread Eugene S
Question #269984 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269984

Status: Open => Answered

Eugene S proposed the following answer:
Please start from read through the documentation and examples.
Then you will have to decide whether you'd like to use SIkuli IDE, jython 
script or java based version. Then you have to install it according to your 
choice. Installation procedure and options is also explained in the docs.

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


Re: [Sikuli-driver] [Question #269975]: Sikuli not clicking on images while running application with adminstrator privileges

2015-08-04 Thread Eugene S
Question #269975 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269975

Status: Open => Needs information

Eugene S requested more information:
ok, but the question here is why this button wasn't clicked. So was it
certainly located? Try to highlight it, like:

reg = find("image.png")
reg.highlight(1)

Can you see that the correct area is highlighted?

Then when you perform the click, can you see that a click was actually
made in the log?

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


Re: [Sikuli-driver] [Question #269933]: Selecting text randomly

2015-08-04 Thread Eugene S
Question #269933 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269933

Status: Needs information => Answered

Eugene S proposed the following answer:
Yes, such scenarios can be automated with Sikuli.
It might be hard working with multiple areas, especially if you want to perform 
precise mouse action within these areas. You will have to think how can you 
define your paragraph in a robust way (remember that sikuli is 100% visual).

As to moving the mouse itself, you can use these commands:
http://doc.sikuli.org/region.html#low-level-mouse-and-keyboard-actions

Again, your main challenge is going to be robust definition of the
regions you want to interact with.

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


Re: [Sikuli-driver] [Question #269975]: Sikuli not clicking on images while running application with adminstrator privileges

2015-08-04 Thread Eugene S
Question #269975 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269975

Status: Open => Needs information

Eugene S requested more information:
Do you get any errors? logs?

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


Re: [Sikuli-driver] [Question #269933]: Selecting text randomly

2015-08-03 Thread Eugene S
Question #269933 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269933

Status: Open => Needs information

Eugene S requested more information:
The text selection process that you described is not clear.
Please describe it step by step.

Do you just click once on the text to select it?
Do you have to select it by dragging the mouse?
Is this text selectable? Meaning that you can navigate in this textbox with 
your keyboard and perform key combinations like CTRL + 'A', CTRL + 'C'?

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


Re: [Sikuli-driver] [Question #269936]: How to select textbox next to fixed text using sikuli in Java?

2015-08-03 Thread Eugene S
Question #269936 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269936

Status: Open => Answered

Eugene S proposed the following answer:
The most straightforward way to do that will be locating that constant
text label and storing. Then you can define the region you are
interested in in relation to it.

For example:

relativeReg = find("iamge.png")
reg = Region(relativeReg )
reg = Region(relativeReg.x + X, relativeReg.y + Y, relativeReg.w + W, 
relativeReg.h + H)

where X,Y,W and H are the distance in pixels that you will have to set
manually.

when you have your region, you can click (or double click it to select
select the text) and do whatever you want to do with that field.

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


Re: [Sikuli-driver] [Question #269898]: Project names confusion

2015-08-02 Thread Eugene S
Question #269898 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269898

Status: Answered => Open

Eugene S is still having a problem:
Thank you for your answers RaiMan!

Yes, I am aware of these coordinates that you mentioned. Just wanted to
make sure that's the only artefact that is required. On few occasions it
didn't work for me straight away, that's why I am asking.


Thanks again,
Eugene

-- 
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 #269898]: Project names confusion

2015-08-01 Thread Eugene S
New question #269898 on Sikuli:
https://answers.launchpad.net/sikuli/+question/269898

Hi RaiMan,

It seems that I am bit confused about the Sikuli project names. I thought I 
understand how they are organized but after going through some of the questions 
I am not longer sure.

Please find my questions below:

1. So we have this Sikuli API project:
https://code.google.com/p/sikuli-api/

As far as I understand, this one has nothing to do with you and is a completely 
separate project. Is that correct?

2. Then we have this SikuliX API project:
https://github.com/RaiMan/SikuliX-2014/tree/master/API

That actually IS your project that you support.

3.  In the above mentioned github, you have multiple modules, one of them is 
API.
So if I want to use the code for testing (similarly as I am using sikuli script 
with jython), which one of these modules should I use. I see 2 options there: 
API or Libswin.

4. If I create new project from scratch and I want to add Sikuli script 
dependency in my pom.xml, what artefact/groupID should i use? I found few 
references in the documentation and ended up using some combination of these. 
Can you please specify what is the correct pom configuration?


Thanks in advance!
Eugene S



-- 
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] [Bug 1480058] Re: print the copied content by env.getclipboard noe working

2015-07-31 Thread Eugene S
I suggest asking your question in the users forum before raising a
defect.

First of all, read the documentation (or other questions in the user
forum) carefully. The key combination that you need to execute should
be:

type("a", KeyModifier.CTRL)
type("c", KeyModifier.CTRL)

Second, in latest version of Sikuli, Env.getClipboard() is deprecated.
App.getClipboard() should be used instead.

** Changed in: sikuli
   Status: New => Invalid

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

Title:
  print the copied content by env.getclipboard noe working

Status in Sikuli:
  Invalid

Bug description:
  regx=Region(263,380,63,29)
  doubleClick(regx)
  type("a",KEY_CMD)
  type("c",KEY_CMD)
  var= Env.getClipboard()
  print(var)

  i need the output the selected content which was copied eg content is "1234" 
i have select and copied and get that in Env.getClipboard() and if i print that 
it should return 1234 as output . but iam getting  output "Env.getClipBoard()"..
  iam using sikuli 1.01 linux system 

  please suggest
  thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1480058/+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


Re: [Sikuli-driver] [Question #269834]: import issue

2015-07-30 Thread Eugene S
Question #269834 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269834

Status: Open => Answered

Eugene S proposed the following answer:
As far as I know, the files themselves must be *.py files and not
*.sikuli. Would you try that?

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


Re: [Sikuli-driver] [Question #269837]: Looking for a way to export a runnable Sikuli

2015-07-30 Thread Eugene S
Question #269837 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269837

Status: Open => Answered

Eugene S proposed the following answer:
Assuming your friend has the SikuliX installed on his PC, you could send
him a simple script that he can execute form the command line like that:

c:\SikuliX\runScript.cmd -r Test.sikuli

where "Test.sikuli" is a folder that contains Test.py

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


Re: [Sikuli-driver] [Question #269834]: import issue

2015-07-30 Thread Eugene S
Question #269834 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269834

Status: Open => Needs information

Eugene S requested more information:
Are you running them from command line or IDE?

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


Re: [Sikuli-driver] [Question #269784]: copy text from text box

2015-07-30 Thread Eugene S
Question #269784 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269784

Status: Open => Answered

Eugene S proposed the following answer:
SikuliX-2014 is a multi module project:
https://github.com/RaiMan/SikuliX-2014

Clone it from there and choose the project you are interested in.

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


Re: [Sikuli-driver] [Question #269784]: copy text from text box

2015-07-30 Thread Eugene S
Question #269784 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269784

Eugene S posted a new comment:
I use Sikuli API maven project as well and it works fine for me. Just
make sure that all the files has been downloaded.

For example in Eclipse, I right click on the project and choose Update
Maven Project. When you there, check the "Force Update of
Snapshots/Releases" checkbox.

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


Re: [Sikuli-driver] [Question #269784]: copy text from text box

2015-07-30 Thread Eugene S
Question #269784 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269784

Status: Open => Answered

Eugene S proposed the following answer:
You have to keep in mind that Sikuli doesn't care how do you call the
type method. It will just simulate manual action on the currently active
screen. So as long you have your cursor blinking in a certain field, it
doesn't matter how you execute type.

Now, if your problem with this line:
Screen sc = new Screen();

that means something is wrong with Sikuli configuration.

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


Re: [Sikuli-driver] [Question #269784]: copy text from text box

2015-07-29 Thread Eugene S
Question #269784 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269784

Status: Open => Answered

Eugene S proposed the following answer:
Not sure how are you trying to execute "type" in your example. It can't
be a standalone command. It must be attached to an appropriate class,
Screen class for example.

The following example worked well for me:

@Test
public void test3() {
Screen sc = new Screen();
sc.type("a", KeyModifier.CTRL);
sc.type("c", KeyModifier.CTRL);

System.out.println(App.getClipboard());

}

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


Re: [Sikuli-driver] [Question #269768]: kordinaty cursor

2015-07-28 Thread Eugene S
Question #269768 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269768

Status: Open => Answered

Eugene S proposed the following answer:
Env.getMouseLocation() returns the current mouse pointer location.

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


Re: [Sikuli-driver] [Question #269747]: Task Scheduler - taskeng.exe blocking Sikuli

2015-07-28 Thread Eugene S
Question #269747 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269747

Status: Open => Needs information

Eugene S requested more information:
How do you run your script from the task scheduler? do you configure a
command line string that launches your script?

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


Re: [Sikuli-driver] [Question #269704]: setShowActions or Settings configuration not taking effect

2015-07-28 Thread Eugene S
Question #269704 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269704

Eugene S posted a new comment:
No, I was using another version for testing.

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


Re: [Sikuli-driver] [Question #269704]: setShowActions or Settings configuration not taking effect

2015-07-28 Thread Eugene S
Question #269704 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269704

Eugene S posted a new comment:
No, I was using another version for testing.

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


Re: [Sikuli-driver] [Question #269722]: Automatic screen capture with Sikuli

2015-07-28 Thread Eugene S
Question #269722 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269722

Status: Open => Answered

Eugene S proposed the following answer:
Yes sure.

You can capture regions into images using capture command, like that:

img = capture(some_region)

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


Re: [Sikuli-driver] [Question #269722]: Automatic screen capture with Sikuli

2015-07-27 Thread Eugene S
Question #269722 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269722

Status: Open => Needs information

Eugene S requested more information:
Can you please describe what do you want to do exactly?

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


Re: [Sikuli-driver] [Question #269704]: setShowActions or Settings configuration not taking effect

2015-07-27 Thread Eugene S
Question #269704 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269704

Status: Open => Answered

Eugene S proposed the following answer:
Hi,

1.  You will always see the mouse moving on the screen unless you set
Settings.MoveMouseDelay to 0. This will switch off any animation.

2. AFAIK, these logging settings are only relevant for IDE, if you run
your script from command line it won't make any differences.

3. Red crosshair  will appear if you set setShowActions(True).
Settings.SlowMotionDelay parameter that you have mentioned, will just
control the duration of the visual effect. In this case, if you set it
to 30, and attempt to click on an element, the crosshair will stay on
the screen for 30 seconds.

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


Re: [Sikuli-driver] [Question #269481]: Finder.find() method doesn't have fixed execution time even with same background image and target image.

2015-07-21 Thread Eugene S
Question #269481 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269481

Status: Needs information => Answered

Eugene S proposed the following answer:
Try performing the same test in a loop a couple of times. I tried the
same and it looks like the first result is a bit higher but all the
subsequent results are much more similar. Might be a caching somewhere.

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


Re: [Sikuli-driver] [Question #269458]: Sikuli wont "Type" only in certain windows.

2015-07-20 Thread Eugene S
Question #269458 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269458

Status: Open => Answered

Eugene S proposed the following answer:
Make sure what window are you focused on. Remember that SIkuli is only
going to type like a real use would've. So if the application you are
trying to interact with is not currently in focus/not active window,
then you  won't be able to type into it.

Just to check yourself, try to manually type something exactly at the
same moment when you wait for you script to start typing and see what
happens.

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


Re: [Sikuli-driver] [Question #269303]: Text Search off error on image [Sikuli java Eclipse]

2015-07-19 Thread Eugene S
Question #269303 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269303

Status: Open => Answered

Eugene S proposed the following answer:
To test that I was using Sikuli API that I got using Maven and its version is 
1.1.0
Maybe try this version?

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


Re: [Sikuli-driver] [Question #269303]: Text Search off error on image [Sikuli java Eclipse]

2015-07-18 Thread Eugene S
Question #269303 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269303

Status: Open => Needs information

Eugene S requested more information:
hmm, that's strange. 
I can't even force myself to get this error. In my case, even if I deliberately 
use image with incorrect path I get the following error:

[error] Image: Image not valid, but TextSearch is switched off!

and not the one you are getting.

I tried to look at the Sikuli code and it looks like that error is comes
from Finder.setTargetSmartly() method which is not even called in my
case.

Maybe some versions differences? What version are you using?

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


Re: [Sikuli-driver] [Question #269303]: Text Search off error on image [Sikuli java Eclipse]

2015-07-16 Thread Eugene S
Question #269303 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269303

Eugene S proposed the following answer:
Selenium or Sikuli? :)

Anyway, just to be certain, try to use full path and see if that works
for you. For example something like that:

Screen s = new Screen();
s.find("C:\\...\\image.png").highlight(1);

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


Re: [Sikuli-driver] [Question #269299]: How to use hover command in sikuli ide....i am getitng error

2015-07-16 Thread Eugene S
Question #269299 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269299

Status: Open => Needs information

Eugene S requested more information:
Can you describe exactly what are you trying to do?

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


Re: [Sikuli-driver] [Question #269303]: Text Search off error on image [Sikuli java Eclipse]

2015-07-16 Thread Eugene S
Question #269303 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269303

Status: Open => Answered

Eugene S proposed the following answer:
It looks like Sikuli can't find these files on your disk. Are you sure
it looks for the in the right location?

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


Re: [Sikuli-driver] [Question #269254]: Wait until the process is completed

2015-07-15 Thread Eugene S
Question #269254 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269254

Eugene S posted a new comment:
You probably should ask that question on StackOverflow or some other QA
site as it's not a Sikuli specific question.

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


Re: [Sikuli-driver] [Question #269003]: Is there any way to prompt user with a pop-up saying "Please do not click on screen" and run sikuli script in background.

2015-07-08 Thread Eugene S
Question #269003 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269003

Status: Open => Answered

Eugene S proposed the following answer:
Sikuli "sees" the screen as it is so if you have a dialog that is
blocking any of the user actions, it will block Sikuli actions as well.
It isn't possible to run the script in the background.

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


  1   2   3   4   5   >