[Sikuli-driver] [Bug 1833356] Re: [1.1.3] findAll fails but image exists

2019-06-19 Thread Jeff_Vallis
Thanx

Perhaps I should have said that the image should not match but on
exist and find it matches the % image on the screen at 0.81 which is something 
I can deal with.

What I need  and I imagine all users need is for matching to be
consistant on exist find and findAll and if exists or find gets a match
then findAll has the same result.

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

Title:
  [1.1.3] findAll fails but image exists

Status in Sikuli:
  Opinion

Bug description:
  Code
  def Find_All_Close_X(v_Image):
  if exists(v_Image,0.2):
  v_Pos = find(v_Image)
  print "v_Pos",v_Pos
  hover(Location(v_Pos.x,v_Pos.y))
  print "hovering",v_Pos.x,v_Pos.y
  popup("Found and hovering")
  v_Result = findAll(v_Image)
  else:
  print "Not Found"
  v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big 
Region.png"
  sx = 422 ; sy = 132 ; sw = 505 ; sh = 270
  setRect(sx,sy,sw,sh)
  g_Find_Matching = 0.85
  for i in range(20):
  print "^ " * 40 ,"Try", g_Find_Matching
  v_Image = Pattern(v_Image_p).similar(g_Find_Matching)

  Find_All_Close_X(v_Image)
  g_Find_Matching = g_Find_Matching - 0.01

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1833356/+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 #681495]: Run script in different directory with sikulix.jar

2019-06-19 Thread dongleilin
Question #681495 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681495

Description changed to:
Hi,

There is a problem..

I put sikulix.jar at D:/SikuliTest/ directory and skl script at
D:/SikuliTest/Script/ ...

There always be problem when I execute skl script by shell command "java -jar 
sikulix.jar -r D:/SikuliTest/Script/skl" ...
(My option is that can't find the skl script)

Can I execute skl script by shell when sikulix.jar and skl at different
directory?

-- 
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 #681495]: Run script in different directory with sikulix.jar

2019-06-19 Thread dongleilin
New question #681495 on Sikuli:
https://answers.launchpad.net/sikuli/+question/681495

Hi,

Ther is a problem ...

I put sikulix.jar at D:/SikuliTest/ directory and skl script at 
D:/SikuliTest/Script/ ...

There always be problem when I execute skl script by shell command "java -jar 
sikulix.jar -r D:/SikuliTest/Script/skl" ...
(My option is that can't find the skl script)

Can I execute skl script by shell when sikulix.jar and skl at different 
directory?

-- 
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 #681484]: "what's new" in nigthly builds is present?

2019-06-19 Thread RaiMan
Question #681484 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681484

Status: Open => Answered

RaiMan proposed the following answer:
what about this:
https://sikulix-2014.readthedocs.io/en/latest/index.html#new-features-and-major-changes-version-1-1-4

-- 
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 #676086]: Ocr not always working

2019-06-19 Thread matteoa
Question #676086 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676086

Status: Answered => Solved

matteoa 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 #680190]: addImagePath working on a Pc and not in another

2019-06-19 Thread matteoa
Question #680190 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680190

Status: Answered => Solved

matteoa confirmed that the question is solved:
Thanks RaiMan, that solved my question.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #681487]: "click" does nothing on OSX Mojave

2019-06-19 Thread Manan Saddique
New question #681487 on Sikuli:
https://answers.launchpad.net/sikuli/+question/681487

I have a working script that ive tested on a linux box and it works but the 
same script fails to run on a OSX Mojave.

Im using RJB gem to load the latest nightly Sikuli API and then have a simple 
script that looks for an image and then clicks on it. Sikuli finds the image 
but when it executes the line for  click the image, the execution just goes 
into an endless state where it doesnt do anything no error or timeout.

Ive made sure that my IDE is part of the privacy list that is allowed to 
interact with other apps. Is there something that im missing?

current java version is 11 but ive tried other versions as well. Again this 
script works perfectly fine if i run it on a linux box. Any help would be 
appreciated. thanks

-- 
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 #681484]: "what's new" in nigthly builds is present?

2019-06-19 Thread matteoa
New question #681484 on Sikuli:
https://answers.launchpad.net/sikuli/+question/681484

Hello,
would be helpful to have a "what's new" short description for the Sikulix 
releases..
If I'm not wrong there is only the link to "Things that have been fixed" that 
goes to a list of bugfix committed that is not what I'd need.
For example for the 2019-06-18_12:08 (Build 309) between the "Things that have 
been fixed" there is this bugfix:
#1741764 [1.1.4] ADBScreen - crashes if waitAfterAction set to 0 --- fixed 
2018-12-12 build #145 
committed with a version from 2018.
A list of new features introduced would help a lot...
Being here I'd also dare to ask for a documentation update notification...it 
has happened to discover by chance some interesting information...
Thanks for your work!
Matteo

-- 
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 #681482]: Not able to run sikuli while skype sharing

2019-06-19 Thread Rajeev D R
New question #681482 on Sikuli:
https://answers.launchpad.net/sikuli/+question/681482

Hi, 

I faced a surprising problem while giving a demo to the client on skype using 
sikuli scripts .

The scripts don't run even after clicking on the application to activate  the 
focus.

Request to give a solution for the same.

Regards
Rajeev

-- 
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 1833356] Re: [1.1.3] findAll fails but image exists

2019-06-19 Thread RaiMan
** Changed in: sikuli
   Status: New => Opinion

** Changed in: sikuli
Milestone: None => 1.1.4

** Changed in: sikuli
   Importance: Undecided => Low

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

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

Title:
  [1.1.3] findAll fails but image exists

Status in Sikuli:
  Opinion

Bug description:
  Code
  def Find_All_Close_X(v_Image):
  if exists(v_Image,0.2):
  v_Pos = find(v_Image)
  print "v_Pos",v_Pos
  hover(Location(v_Pos.x,v_Pos.y))
  print "hovering",v_Pos.x,v_Pos.y
  popup("Found and hovering")
  v_Result = findAll(v_Image)
  else:
  print "Not Found"
  v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big 
Region.png"
  sx = 422 ; sy = 132 ; sw = 505 ; sh = 270
  setRect(sx,sy,sw,sh)
  g_Find_Matching = 0.85
  for i in range(20):
  print "^ " * 40 ,"Try", g_Find_Matching
  v_Image = Pattern(v_Image_p).similar(g_Find_Matching)

  Find_All_Close_X(v_Image)
  g_Find_Matching = g_Find_Matching - 0.01

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1833356/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1833356] Re: [1.1.3] findAll fails but image exists

2019-06-19 Thread RaiMan
the screen shot does not contain any close button.

** Summary changed:

- findAll Fails
+ [1.1.3] findAll fails but image exists

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

Title:
  [1.1.3] findAll fails but image exists

Status in Sikuli:
  New

Bug description:
  Code
  def Find_All_Close_X(v_Image):
  if exists(v_Image,0.2):
  v_Pos = find(v_Image)
  print "v_Pos",v_Pos
  hover(Location(v_Pos.x,v_Pos.y))
  print "hovering",v_Pos.x,v_Pos.y
  popup("Found and hovering")
  v_Result = findAll(v_Image)
  else:
  print "Not Found"
  v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big 
Region.png"
  sx = 422 ; sy = 132 ; sw = 505 ; sh = 270
  setRect(sx,sy,sw,sh)
  g_Find_Matching = 0.85
  for i in range(20):
  print "^ " * 40 ,"Try", g_Find_Matching
  v_Image = Pattern(v_Image_p).similar(g_Find_Matching)

  Find_All_Close_X(v_Image)
  g_Find_Matching = g_Find_Matching - 0.01

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1833356/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1833356] Re: findAll Fails

2019-06-19 Thread Jeff_Vallis
Image

** Attachment added: "Close X big Region.png"
   
https://bugs.launchpad.net/sikuli/+bug/1833356/+attachment/5271516/+files/Close%20X%20big%20Region.png

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

Title:
  findAll Fails

Status in Sikuli:
  New

Bug description:
  Code
  def Find_All_Close_X(v_Image):
  if exists(v_Image,0.2):
  v_Pos = find(v_Image)
  print "v_Pos",v_Pos
  hover(Location(v_Pos.x,v_Pos.y))
  print "hovering",v_Pos.x,v_Pos.y
  popup("Found and hovering")
  v_Result = findAll(v_Image)
  else:
  print "Not Found"
  v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big 
Region.png"
  sx = 422 ; sy = 132 ; sw = 505 ; sh = 270
  setRect(sx,sy,sw,sh)
  g_Find_Matching = 0.85
  for i in range(20):
  print "^ " * 40 ,"Try", g_Find_Matching
  v_Image = Pattern(v_Image_p).similar(g_Find_Matching)

  Find_All_Close_X(v_Image)
  g_Find_Matching = g_Find_Matching - 0.01

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1833356/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1833356] Re: findAll Fails

2019-06-19 Thread Jeff_Vallis
Have been fighting this for ages
findAll fails at similiar 0.80
I added this bit of code to try to debug
##
v_Pos = find(v_Image)
print "v_Pos",v_Pos
hover(Location(v_Pos.x,v_Pos.y))
print "hovering",v_Pos.x,v_Pos.y
popup("Found and hovering")
###
my results :-

^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 
Try 0.85
Not Found
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 
Try 0.84

Not Found
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 
Try 0.83

Not Found
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 
Try 0.82

Not Found
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 
Try 0.81

v_Pos M[457,191 8x11]@S(S(0)[0,0 1366x768]) S:0.82 C:461,196 [80 msec]

hovering 457 191

[error] script [ FindFailed ] stopped with error in line 19
[error] FindFailed ( /home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big 
Region.png: (8x11) seen at (457, 191) with 0.82 in S(0)[0,0 1366x768] E:Y, 
T:3.0 )
[error] --- Traceback --- error source first
line: module ( function ) statement 
8: main ( Find_All_Close_X ) v_Result = findAll(v_Image) 
[error] --- Traceback --- end --

1.1.3(2018-06-07_14:48)/Linux4.15.0-48-generic/Java8(64)1.8.0_201-b09

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

Title:
  findAll Fails

Status in Sikuli:
  New

Bug description:
  Code
  def Find_All_Close_X(v_Image):
  if exists(v_Image,0.2):
  v_Pos = find(v_Image)
  print "v_Pos",v_Pos
  hover(Location(v_Pos.x,v_Pos.y))
  print "hovering",v_Pos.x,v_Pos.y
  popup("Found and hovering")
  v_Result = findAll(v_Image)
  else:
  print "Not Found"
  v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big 
Region.png"
  sx = 422 ; sy = 132 ; sw = 505 ; sh = 270
  setRect(sx,sy,sw,sh)
  g_Find_Matching = 0.85
  for i in range(20):
  print "^ " * 40 ,"Try", g_Find_Matching
  v_Image = Pattern(v_Image_p).similar(g_Find_Matching)

  Find_All_Close_X(v_Image)
  g_Find_Matching = g_Find_Matching - 0.01

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1833356/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1833356] [NEW] findAll Fails

2019-06-19 Thread Jeff_Vallis
Public bug reported:

Code
def Find_All_Close_X(v_Image):
if exists(v_Image,0.2):
v_Pos = find(v_Image)
print "v_Pos",v_Pos
hover(Location(v_Pos.x,v_Pos.y))
print "hovering",v_Pos.x,v_Pos.y
popup("Found and hovering")
v_Result = findAll(v_Image)
else:
print "Not Found"
v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big Region.png"
sx = 422 ; sy = 132 ; sw = 505 ; sh = 270
setRect(sx,sy,sw,sh)
g_Find_Matching = 0.85
for i in range(20):
print "^ " * 40 ,"Try", g_Find_Matching
v_Image = Pattern(v_Image_p).similar(g_Find_Matching)

Find_All_Close_X(v_Image)
g_Find_Matching = g_Find_Matching - 0.01

** Affects: sikuli
 Importance: Undecided
 Status: New

** Attachment added: "This is the Screen"
   
https://bugs.launchpad.net/bugs/1833356/+attachment/5271512/+files/Nanny_Post_Farming_Incomplete.png

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

Title:
  findAll Fails

Status in Sikuli:
  New

Bug description:
  Code
  def Find_All_Close_X(v_Image):
  if exists(v_Image,0.2):
  v_Pos = find(v_Image)
  print "v_Pos",v_Pos
  hover(Location(v_Pos.x,v_Pos.y))
  print "hovering",v_Pos.x,v_Pos.y
  popup("Found and hovering")
  v_Result = findAll(v_Image)
  else:
  print "Not Found"
  v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big 
Region.png"
  sx = 422 ; sy = 132 ; sw = 505 ; sh = 270
  setRect(sx,sy,sw,sh)
  g_Find_Matching = 0.85
  for i in range(20):
  print "^ " * 40 ,"Try", g_Find_Matching
  v_Image = Pattern(v_Image_p).similar(g_Find_Matching)

  Find_All_Close_X(v_Image)
  g_Find_Matching = g_Find_Matching - 0.01

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