Re: [Sikuli-driver] [Question #235137]: [1.0.1] Java: Pattern(BufferedImage) is not found (silently does nothing) --- usage: load images from jar

2015-06-03 Thread madhu
Question #235137 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235137

madhu posted a new comment:
hi all,

I'm very new to sikuli. I have automated one project using sikuli and
java. Now i want to convert it to jar file .In eclipse i right click on
the project and  export as jar file and  jar file is created. whenever i
double click on it images are not recognized . So any solution? Please
advise?

-- 
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 #267709]: not working properly similar

2015-06-03 Thread Chp
New question #267709 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267709

Please help me.
Here is my code:
def open_shop(self):
API.log('open_shop')

# check if its already opened
API.log(str(Pattern(Interface.Action['shop_slide']).similar(0.9)))
shop_slide_match = 
self.GR.exists(Pattern(Interface.Action['shop_slide']).similar(0.9), 5)
if shop_slide_match:
API.log('-' + str(shop_slide_match))
self.click(shop_slide_match.offset(Location(-25, 0)))

here is my log:
P(Game/Action/shop_slide.png) S: 0.9
-M[1650,464 85x32]@S(S(0)[0,0 1920x1080]) S:0,71 C:1692,480 [21/21 
msec]

how can this be? I say look for an image with similar (0.9) and I found it with 
(0.71)

it happens when I call the method again

-- 
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 #267700]: Is there a way to append strings to clipboard?

2015-06-03 Thread eduardobedoya
Question #267700 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267700

Status: Answered = Open

eduardobedoya is still having a problem:
Second chance would be write the log in a PostgreSQL database, is where the 
main macrorecoder records all the logs, I used that macrorecorder to call 
sikuli scripts, and sikuli send the results back via clipboard. So I guess 
recording to database directly from sikuli could be a chance. Is that posible??
Thanks Advanced.

-- 
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 #267700]: Is there a way to append strings to clipboard?

2015-06-03 Thread eduardobedoya
Question #267700 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267700

eduardobedoya posted a new comment:
Second chance would be write the log in a PostgreSQL database, is where the 
main macrorecoder records all the logs, I used that macrorecorder to call 
sikuli scripts, and sikuli send the results back via clipboard. So I guess 
recording to database directly from sikuli could be a chance. Is that posible??
Thanks Advanced.

-- 
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 #266528]: app.focus() not working after window title change (Windows 8.1)?

2015-06-03 Thread Geoff Bache
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528

Geoff Bache gave more information on the question:
I'm afraid it still doesn't work for me. This with yesterday's nightjob
(0601_2300). Tried both with App.open(...) and App.focus(startup
title).

-- 
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 #267709]: not working properly similar

2015-06-03 Thread RaiMan
Question #267709 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267709

Status: Open = Needs information

RaiMan requested more information:
Sorry, but I do not understand.

comment #14 is true for version 1.0.1+

Do you want to say, that the screen is shown on the targetOffset tab of
Preview with RC3 IDE, though the image is not visible 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 #267709]: not working properly similar

2015-06-03 Thread Chp
Question #267709 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267709

Status: Needs information = Open

Chp gave more information on the question:
http://joxi.ru/K823WQoHaw972O
http://joxi.ru/48AnayqCoKzJ2O
If you do not understand something, I'll write you a video

-- 
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 #267709]: not working properly similar

2015-06-03 Thread Chp
Question #267709 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267709

Status: Answered = Open

Chp is still having a problem:
I helped setting Settings.CheckLastSeen = False and all now works
correctly, and tell it exactly does Settings.CheckLastSeen = False?

-- 
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 #267709]: not working properly similar

2015-06-03 Thread RaiMan
Question #267709 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267709

Status: Open = Answered

RaiMan proposed the following answer:
I tried to explain the CheckLastSeen-feature in comment #8 !!??

-- 
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 #267700]: Is there a way to append strings to clipboard?

2015-06-03 Thread eduardobedoya
Question #267700 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267700

eduardobedoya gave more information on the question:
Second chance would be write the log in a PostgreSQL database, is where the 
main macrorecoder records all the logs, I used that macrorecorder to call 
sikuli scripts, and sikuli send the results back via clipboard. So I guess 
recording to database directly from sikuli could be a chance. Is that posible?? 
what about the clipboard, there is not any append clipboard command right? I 
guess I could store the clipboard in a string, and append all parts of 
clipboard that a wish to that string everytime needed inside sikuli, and when 
done send all appended string to clipboard. that is the only way right?
Thanks Advanced.

-- 
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 #267700]: Is there a way to append strings to clipboard?

2015-06-03 Thread eduardobedoya
Question #267700 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267700

eduardobedoya gave more information on the question:
Second chance would be write the log in a PostgreSQL database, is where the 
main macrorecoder records all the logs, I used that macrorecorder to call 
sikuli scripts, and sikuli send the results back via clipboard. So I guess 
recording to database directly from sikuli could be a chance. Is that posible?? 
what about the clipboard, there is not any append clipboard command right? I 
guess I could store the clipboard in a string, and append all parts of 
clipboard that a wish to that string everytime needed inside sikuli, and when 
done send all appended string to clipboard. that is the only way right?
Thanks Advanced.

-- 
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 #267700]: Is there a way to append strings to clipboard?

2015-06-03 Thread eduardobedoya
Question #267700 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267700

eduardobedoya gave more information on the question:
Second chance would be write the log in a PostgreSQL database, is where the 
main macrorecoder records all the logs, I used that macrorecorder to call 
sikuli scripts, and sikuli send the results back via clipboard. So I guess 
recording to database directly from sikuli could be a chance. Is that posible?? 
what about the clipboard, there is not any append clipboard command right? I 
guess I could store the clipboard in a string, and append all parts of 
clipboard that I wish to that string inside sikuli, and when done send all 
appended string to clipboard. that is the only way right?
Thanks Advanced.

-- 
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 #267709]: not working properly similar

2015-06-03 Thread Chp
Question #267709 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267709

Chp gave more information on the question:
My code in IDE sikuli:
def open_shop():
print('open_shop')

# check if its already opened
shop_slide = Pattern(shop_slide-2.png).similar(0.90)
shop_slide_match = exists(shop_slide, 3)
if shop_slide_match:
click(shop_slide_match.offset(Location(-25, 0)))
else:
# open, may be a slider
click(building.png)
shop_slide_match = exists(shop_slide-2.png, 5)
if shop_slide_match:
click(shop_slide_match.offset(Location(-25, 0)))
Debug.on(3)
for i in range(4):
open_shop()
click(dfsdf.png)

debug(3) log:
open_shop
[debug] Image: reused: shop_slide-2.png (file:/D:/Avto Testing 
Experiment.sikuli/shop_slide-2.png)
[debug] Region: exists: waiting 3,0 secs for P(shop_slide-2.png) S: 0.9 to 
appear in R[0,0 1920x1080]@S(0)

[debug] Region: exists: P(shop_slide-2.png) S: 0.9 has not appeared [877 msec]
[debug] Region: find: waiting 3,0 secs for building.png to appear in R[0,0 
1920x1080]@S(0)
[debug] Image: reused: building.png (file:/D:/Avto Testing 
Experiment.sikuli/building.png)

[debug] Region: find: building.png has appeared at M[1703,468 28x24]@S(S(0)[0,0 
1920x1080]) S:1,00 C:1717,480 [501/501 msec]
[debug] CLICK on L(1717,480)@S(0)[0,0 1920x1080]

[debug] Region: exists: waiting 5,0 secs for shop_slide-2.png to appear in 
R[0,0 1920x1080]@S(0)
[debug] Image: reused: shop_slide-2.png (file:/D:/Avto Testing 
Experiment.sikuli/shop_slide-2.png)

[debug] Region: exists: shop_slide-2.png has not appeared [1080 msec]
[debug] Region: find: waiting 3,0 secs for dfsdf.png to appear in R[0,0 
1920x1080]@S(0)
[debug] Image: reused: dfsdf.png (file:/D:/Avto Testing 
Experiment.sikuli/dfsdf.png)

[debug] Region: find: dfsdf.png has appeared at M[1494,329 35x29]@S(S(0)[0,0 
1920x1080]) S:0,96 C:1511,343 [370/370 msec]
[debug] CLICK on L(1511,343)@S(0)[0,0 1920x1080]

open_shop
[debug] Image: reused: shop_slide-2.png (file:/D:/Avto Testing 
Experiment.sikuli/shop_slide-2.png)
[debug] Region: exists: waiting 3,0 secs for P(shop_slide-2.png) S: 0.9 to 
appear in R[0,0 1920x1080]@S(0)

[debug] Region: exists: P(shop_slide-2.png) S: 0.9 has not appeared [920 msec]
[debug] Region: find: waiting 3,0 secs for building.png to appear in R[0,0 
1920x1080]@S(0)
[debug] Image: reused: building.png (file:/D:/Avto Testing 
Experiment.sikuli/building.png)

[debug] Region: checkLastSeen: still there
[debug] Region: find: building.png has appeared at M[1703,468 28x24]@S(S(0)[0,0 
1920x1080]) S:1,00 C:1717,480 [60/60 msec]
[debug] CLICK on L(1717,480)@S(0)[0,0 1920x1080]

[debug] Region: exists: waiting 5,0 secs for shop_slide-2.png to appear in 
R[0,0 1920x1080]@S(0)
[debug] Image: reused: shop_slide-2.png (file:/D:/Avto Testing 
Experiment.sikuli/shop_slide-2.png)

[debug] Region: exists: shop_slide-2.png has appeared at M[1650,464 
85x32]@S(S(0)[0,0 1920x1080]) S:0,71 C:1692,480 [972/640 msec]
[debug] Device: Mouse: moved externally: now (1799,441) was (1717,480) 
(mouseMovedResponse 0)
[debug] CLICK on L(1667,480)@S(0)[0,0 1920x1080]

[debug] Region: find: waiting 3,0 secs for dfsdf.png to appear in R[0,0 
1920x1080]@S(0)
[debug] Image: reused: dfsdf.png (file:/D:/Avto Testing 
Experiment.sikuli/dfsdf.png)
[debug] Region: checkLastSeen: still there
[debug] Region: find: dfsdf.png has appeared at M[1494,329 35x29]@S(S(0)[0,0 
1920x1080]) S:0,99 C:1511,343 [63/63 msec]
[debug] CLICK on L(1511,343)@S(0)[0,0 1920x1080]

open_shop
[debug] Image: reused: shop_slide-2.png (file:/D:/Avto Testing 
Experiment.sikuli/shop_slide-2.png)
[debug] Region: exists: waiting 3,0 secs for P(shop_slide-2.png) S: 0.9 to 
appear in R[0,0 1920x1080]@S(0)
[debug] Region: checkLastSeen: still there
[debug] Region: exists: P(shop_slide-2.png) S: 0.9 has appeared at M[1650,464 
85x32]@S(S(0)[0,0 1920x1080]) S:0,71 C:1692,480 [54/54 msec]
[debug] CLICK on L(1667,480)@S(0)[0,0 1920x1080]

[debug] Region: find: waiting 3,0 secs for dfsdf.png to appear in R[0,0 
1920x1080]@S(0)
[debug] Image: reused: dfsdf.png (file:/D:/Avto Testing 
Experiment.sikuli/dfsdf.png)

[debug] Region: checkLastSeen: not there

[debug] Region: find: dfsdf.png has not appeared [1030 msec]
[error] script [ Avto Testing Experiment ] stopped with error in line 18
[error] FindFailed ( can not find dfsdf.png in R[0,0 1920x1080]@S(0) )
[debug] Sikulix: cleanUp: 0

[debug] save image for copypaste: shop_slide-2.png - /D:/Avto Testing 
Experiment.sikuli/shop_slide-2.png
[debug] save image for copypaste: building.png - /D:/Avto Testing 
Experiment.sikuli/building.png
[debug] save image for copypaste: shop_slide-2.png - /D:/Avto Testing 
Experiment.sikuli/shop_slide-2.png
[debug] save image for copypaste: dfsdf.png - /D:/Avto Testing 
Experiment.sikuli/dfsdf.png

[debug] save image for copypaste: shop_slide-2.png - /D:/Avto Testing 

Re: [Sikuli-driver] [Question #267709]: not working properly similar

2015-06-03 Thread Chp
Question #267709 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267709

Status: Answered = Open

Chp is still having a problem:
I'm using version 1.1, or rather I try to go at it, I just tried to run
in the IDE sikuli, I have observed the exact same problem

-- 
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 #267700]: Is there a way to append strings to clipboard?

2015-06-03 Thread RaiMan
Question #267700 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267700

Status: Open = Answered

RaiMan proposed the following answer:
to make a clipboard append try this:

content = App.getClipboard()
content = content + newContent
App.setClipboard(content)

-- 
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 1461533] [NEW] [1.1.0] exists(Pattern().similar(0.9)) matches with 0.71 second time

2015-06-03 Thread RaiMan
Public bug reported:

Please help me.
Here is my code:
def open_shop(self):
API.log('open_shop')

# check if its already opened
API.log(str(Pattern(Interface.Action['shop_slide']).similar(0.9)))
shop_slide_match = 
self.GR.exists(Pattern(Interface.Action['shop_slide']).similar(0.9), 5)
if shop_slide_match:
API.log('-' + str(shop_slide_match))
self.click(shop_slide_match.offset(Location(-25, 0)))

here is my log:
P(Game/Action/shop_slide.png) S: 0.9
-M[1650,464 85x32]@S(S(0)[0,0 1920x1080]) S:0,71 C:1692,480 [21/21 
msec]

how can this be? I say look for an image with similar (0.9) and I found
it with (0.71)

it happens when I call the method again

** Affects: sikuli
 Importance: High
 Assignee: RaiMan (raimund-hocke)
 Status: In Progress

** Changed in: sikuli
   Status: New = In Progress

** Changed in: sikuli
   Importance: Undecided = High

** Changed in: sikuli
 Assignee: (unassigned) = RaiMan (raimund-hocke)

** Changed in: sikuli
Milestone: None = 1.1.0

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

Title:
  [1.1.0] exists(Pattern().similar(0.9)) matches with 0.71 second time

Status in Sikuli:
  In Progress

Bug description:
  Please help me.
  Here is my code:
  def open_shop(self):
  API.log('open_shop')

  # check if its already opened
  API.log(str(Pattern(Interface.Action['shop_slide']).similar(0.9)))
  shop_slide_match = 
self.GR.exists(Pattern(Interface.Action['shop_slide']).similar(0.9), 5)
  if shop_slide_match:
  API.log('-' + str(shop_slide_match))
  self.click(shop_slide_match.offset(Location(-25, 0)))

  here is my log:
  P(Game/Action/shop_slide.png) S: 0.9
  -M[1650,464 85x32]@S(S(0)[0,0 1920x1080]) S:0,71 C:1692,480 
[21/21 msec]

  how can this be? I say look for an image with similar (0.9) and I
  found it with (0.71)

  it happens when I call the method again

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1461533/+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 #267709]: not working properly similar

2015-06-03 Thread RaiMan
Question #267709 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267709

Status: Open = Answered

RaiMan proposed the following answer:
I guess you are using 1.0.1

If you want to stay with that (and not yet upgrade to version 1.1.0),
you can try this:

Settings.CheckLastSeen = False

somewhere at the beginning

This switches off  the internal pre-check, wether an image is still in
place.

In version 1.1.0 this feature is a bit more intelligent.

-- 
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 #267709]: not working properly similar

2015-06-03 Thread Chp
Question #267709 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267709

Status: Answered = Open

Chp is still having a problem:
Do I understand correctly that this error sikuli 1.1? I'll try to run
with the parameter Settings.CheckLastSeen = False, and see how it will
work, I also try to download the update right now today and also try

-- 
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 #267709]: not working properly similar

2015-06-03 Thread RaiMan
Question #267709 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267709

Status: Open = Answered

RaiMan proposed the following answer:
ok, found the reason for this behavior:

the LastSeen information is stored with the used image.

Since the first time, shop_slide-2.png was found is in the else branch with
 shop_slide_match = exists(shop_slide-2.png, 5)

where you do not use the Pattern, so finding with 0.71 is allowed.

this information is stored with the image and it seems, that when using the 
same image in the
shop_slide_match = exists(shop_slide, 3)

it is evaluated as being still there, but the wanted minimum score of
0.9 is apparently ignored here.

I will check and fix that.

as a workaround for now do this:

 # check if its already opened
shop_slide = Pattern(shop_slide-2.png).similar(0.90)
Settings.CheckLastSeen = False
shop_slide_match = exists(shop_slide, 3)
Settings.CheckLastSeen = True
if shop_slide_match:
….

No need to switch it off generally, since in the other cases it works
like it should (search about 10 times faster)

-- 
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 #267709]: not working properly similar

2015-06-03 Thread Chp
Question #267709 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267709

Status: Answered = Open

Chp is still having a problem:
Thank you very much I will wait for correction, I understand that if
ignored similar to this was found with another similar image. How do I
know when it is fixed? So far I've just put the same similar for both
searches

-- 
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 #267709]: not working properly similar

2015-06-03 Thread Chp
Question #267709 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267709

Chp gave more information on the question:
I try to translate my test system with sikuli rc930 on sikuli 1.1 and
here I was faced with such a problem. Could this be due to the fact that
I found two versions sikuli

-- 
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 #267709]: not working properly similar

2015-06-03 Thread RaiMan
Question #267709 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267709

RaiMan proposed the following answer:
@ comment #4:
should not be, since version 1.1.0 (at least builds newer than April 2015) can 
no longer collide with older versions on same system.

-- 
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 #267709]: Status of bug #1461533 changed to 'In Progress' in Sikuli

2015-06-03 Thread RaiMan
Bug #1461533 status changed in Sikuli:

New = In Progress

https://bugs.launchpad.net/sikuli/+bug/1461533
[1.1.0] exists(Pattern().similar(0.9)) matches with 0.71 second time

This bug is linked to #267709.
not working properly similar
https://answers.launchpad.net/sikuli/+question/267709

-- 
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 #267709]: not working properly similar

2015-06-03 Thread RaiMan
Question #267709 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267709

Status: Open = Answered

RaiMan proposed the following answer:
ok, thanks.
made it a bug for now.
I will check it.

-- 
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 #267709]: not working properly similar

2015-06-03 Thread RaiMan
Question #267709 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267709

Linked to bug: #1461533
https://bugs.launchpad.net/bugs/1461533
[1.1.0] exists(Pattern().similar(0.9)) matches with 0.71 second time

-- 
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 #267721]: How to stop Sikuli from creating PATH in Environment Variables

2015-06-03 Thread Sina Golestanirad
New question #267721 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267721

First of all my apologies for my poor English :)

I have used Sikuli-java.jar to test a web site and it works wonderful, but now 
I need to make a runnable jar file and put on server (or just give it to my 
customer), but the issue is that when I run it for the first time on a computer 
it goes to Environment Variables and add a PATH of a file called libs which 
contains the dll files. I need to add Sikuli dll file to the jar file in a way 
that it recognize it and do not change anything on a new computer.

In other words:
What should I do that when I run the jar on a computer for the first time it 
does not change anything? or at least if I put the dll file beside the jar file 
it recognizes it and do not make that PATH?

I am really stuck and deeply appreciate your time and help.

-- 
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 #267723]: How to distinguish two (or more) equal buttons in one image?

2015-06-03 Thread a699acx
New question #267723 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267723

Hi!

I'm new using Sikuli but so far I'm loving it!

However I've the following doubt: Imagine that I've 2 or more buttons that are 
exactly the same (same picture). 
How can Sikuli distinguish between them? 

Meaning:
button1 pic equals button2 pic

I want to click button2. 
What's the best approach?
a) Give Sikuli one picture that has both buttons? (bigger region) 
OR 
b) Give Sikuli only the button2 picture? (smaller region)

In both approaches how can I assure that Sikuli will indeed click on button2?

Thanks!

-- 
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 #267725]: change findAll WaitTimeout individually, and Wait for Duplicated or Not Img

2015-06-03 Thread eduardobedoya
New question #267725 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267725

Hi community, I have kinda two questions, but are related to the same script.

1) I would like to change the default WaitTimeout of a single findAll

I know Settings.AutoWaitTimeout = (seconds) can change the default WaitTimeout 
in all the script (I don't know why everytime I have tested it, it only applies 
from the second time I run my script on, the first time I run the script the 
WaitTimeout remain to the defult value 3secs despite Settings.AutoWaitTimeout 
is set to 0)
I know also setAutoWaitTimeout = (seconds) set the maximum waiting time for all 
subsequent find operations. (no matter if I put this action inside a function? 
other findAll op will change its WaitTimeout no matte if they are inside other 
functions?)

So if I want to change the default WaitTimeout only for a single findAll op, I 
should use two setAutoWaitTimeout, one before, and another after the findAll 
op, Iam right? is this the only way?

isn't anything like...
if exist (Img, 0.2): #where 0.2 is the wait time and can be changed
but applied to findAll?

2) Another trick that I would like to achieve is... How can I wait for an Image 
(eg. RedStartImg) but sometimes there is already a RedStartImg in the screen 
and it will appear a second one, How can I wait for that second RedStartImg? 
sometimes there are two RedStartImg and it will appear a third one, some times 
there is None and it will appear one, How can I wait for Image in that case? I 
know that Image takes to appear from 0.5 to 2 secs.

Thanks Advanced.

-- 
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 #267725]: change findAll WaitTimeout individually, and Wait for Duplicated or Not Img

2015-06-03 Thread eduardobedoya
Question #267725 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267725

Description changed to:
Hi community, I have kinda two questions, but are related to the same
script.

1) I would like to change the default WaitTimeout of a single findAll

I know Settings.AutoWaitTimeout = (seconds) can change the default WaitTimeout 
in all the script (I don't know why everytime I have tested it, it only applies 
from the second time I run my script on, the first time I run the script the 
WaitTimeout remain to the defult value 3secs despite Settings.AutoWaitTimeout 
is set to 0)
I know also setAutoWaitTimeout = (seconds) set the maximum waiting time for all 
subsequent find operations. (no matter if I put this action inside a function? 
other findAll op will change its WaitTimeout no matte if they are inside other 
functions?)

So if I want to change the default WaitTimeout only for a single findAll
op, I should use two setAutoWaitTimeout, one before, and another after
the findAll op, Iam right? is this the only way?

isn't anything like...
if exist (Img, 0.2): #where 0.2 is the wait time and can be changed
but applied to findAll?

2) Another trick that I would like to achieve is... How can I wait for
an Image (eg. RedStartImg) but sometimes there is already a RedStartImg
in the screen and it will appear a second one, How can I wait for that
second RedStartImg? sometimes there are two RedStartImg and it will
appear a third one, some times there is None and it will appear one, How
can I wait for that RedStartImage in this case? I know that
RedStartImage takes to appear from 0.5 to 2 secs.

Thanks Advanced.

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