Re: [Sikuli-driver] [Question #661467]: Find multiple items on the same "screen sample" --- feature in 1.1.2+

2017-12-10 Thread GZ
Question #661467 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661467

Status: Open => Solved

GZ confirmed that the question is solved:
Ok, got 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 #661543]: OCR not able to find text

2017-12-10 Thread mawesome
Question #661543 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661543

mawesome posted a new comment:
Hmm... is it possible to train the OCR to recognize that type of font?

-- 
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 #661467]: Find multiple items on the same "screen sample" --- feature in 1.1.2+

2017-12-10 Thread GZ
Question #661467 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661467

GZ posted a new comment:
Also I was talking about the old method not the new one!

-- 
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 #661467]: Find multiple items on the same "screen sample" --- feature in 1.1.2+

2017-12-10 Thread GZ
Question #661467 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661467

Status: Answered => Open

GZ is still having a problem:
Cmon RaiMan.. I was looking for help.. I've obviously started with that
and the docs..

-- 
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 #661467]: Find multiple items on the same "screen sample" --- feature in 1.1.2+

2017-12-10 Thread RaiMan
Question #661467 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661467

Status: Open => Answered

RaiMan proposed the following answer:
Go back to comment #7 and read and understand

-- 
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 #661467]: Find multiple items on the same "screen sample" --- feature in 1.1.2+

2017-12-10 Thread GZ
Question #661467 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661467

Status: Solved => Open

GZ is still having a problem:
So I've been trying ever since to get the "old" method to work, but I'm
failing.

scrgrab = Finder("something.png")
img = (Pattern("someicon.png").similar(0.82))

if scrgrab.find(img):
print "yes"

but it is always printing yes.

-- 
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 #661057]: Hi I am getting the below error when sikulix is used in eclipse

2017-12-10 Thread RaiMan
Question #661057 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661057

RaiMan posted a new comment:
@Manfred
Thanks for this valuable link.
Nearly 20 years old, but could have been written today.
... and on this occasion: thanks for your contributions. really saves me some 
time.

-- 
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 #661561]: Capture is going to temp instead of project folder

2017-12-10 Thread GZ
New question #661561 on Sikuli:
https://answers.launchpad.net/sikuli/+question/661561

Hi Everyone,

When using the capture(Region=(x,y,w,h)) command, the saved image is going to 
the temp folder of the OS instead of the .sikuli folder of the project.

I assume this is a bug as I've read that it should go to the .sikuli folder, 
which is what I want. I'm on the 1.1.1 release version.

**BTW, it would be amazing if we could name and choose path for these captures**
Something like capture(region, path, filename) would be awesome!

-- 
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 #661057]: Hi I am getting the below error when sikulix is used in eclipse

2017-12-10 Thread Manfred Hampl
Question #661057 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661057

Manfred Hampl posted a new comment:
Perhaps https://www.chiark.greenend.org.uk/~sgtatham/bugs.html could
also serve a bit to better understand what the supporters may need.

-- 
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 #661057]: Hi I am getting the below error when sikulix is used in eclipse

2017-12-10 Thread radhi12
Question #661057 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661057

Status: Answered => Open

radhi12 is still having a problem:
Hi,
i just changed my code as below.

mport java.awt.event.KeyEvent;

import org.sikuli.script.*;
import org.sikuli.script.Screen;
public  class ab

{


  public static void main(String[] args) throws Exception {
  ImagePath.setBundlePath("C:/Users/xw66/workspace/Sikul/imgs");

Screen s = new Screen();

   Pattern p = new
Pattern("C:/Users/xw66/workspace/Sikul/imgs/abc.PNG");


   s.doubleClick(p);

  }

}
I opened the path :C:/Users/xw66/workspace/Sikul/imgs/abc.PNG and kept
before running eclipse so that sikuli and recognise the path and the
object.This also doesnt resolve my issue.

On Sun, Dec 10, 2017 at 11:02 AM, RaiMan <
question661...@answers.launchpad.net> wrote:

> Your question #661057 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/661057
>
> Status: Open => Answered
>
> RaiMan proposed the following answer:
> 3 weeks is indeed a long time for not getting nearer to a solution.
>
> We expect, that you answer our questions in detail and seriously and that
> you yourself invest some trying and thinking.
> It is not the job of this voluntary community to solve your problems nor
> to do your job.
>
> Someone who does not take his time, to write down in detail, what he has
> done and what he wants to achieve, will never get valuable answers.
>
> ... and using the launchpad e-mail channel instead of the web-frontend
> most of the time is not very friendly to the other community members.
>
> you say:
> i expect it to click the image but still getting find failed error
>
> ... then, when I look at this thread, you should have learned until now
> about the possible reasons and after 3 weeks be able to track down the
> problem.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/sikuli/+question/661057/+
> confirm?answer_id=35
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/sikuli/+question/661057
>
> You received this question notification because you asked the question.
>

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

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


Re: [Sikuli-driver] [Question #661057]: Hi I am getting the below error when sikulix is used in eclipse

2017-12-10 Thread RaiMan
Question #661057 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661057

Status: Open => Answered

RaiMan proposed the following answer:
3 weeks is indeed a long time for not getting nearer to a solution.

We expect, that you answer our questions in detail and seriously and that you 
yourself invest some trying and thinking.
It is not the job of this voluntary community to solve your problems nor to do 
your job.

Someone who does not take his time, to write down in detail, what he has
done and what he wants to achieve, will never get valuable answers.

... and using the launchpad e-mail channel instead of the web-frontend
most of the time is not very friendly to the other community members.

you say:
i expect it to click the image but still getting find failed error

... then, when I look at this thread, you should have learned until now
about the possible reasons and after 3 weeks be able to track down the
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 #661057]: Hi I am getting the below error when sikulix is used in eclipse

2017-12-10 Thread radhi12
Question #661057 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661057

radhi12 gave more information on the question:
i expect it to click the image but  still getting find failed error.Can we
have a webex created as this has been pending since 3 weeks.

On Sun, Dec 10, 2017 at 10:27 AM, Manfred Hampl <
question661...@answers.launchpad.net> wrote:

> Your question #661057 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/661057
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Please clearly state what the problem is.
>
> What do you do
> What do you expect to happen
> What happens instead
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/sikuli/+question/661057
>
> You received this question notification because you asked the question.
>

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

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


Re: [Sikuli-driver] [Question #661057]: Hi I am getting the below error when sikulix is used in eclipse

2017-12-10 Thread radhi12
Question #661057 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661057

Status: Needs information => Open

radhi12 gave more information on the question:
Can I create a WebEx now and can we talk

On Dec 10, 2017 10:27 AM, "Manfred Hampl" <
question661...@answers.launchpad.net> wrote:

> Your question #661057 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/661057
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Please clearly state what the problem is.
>
> What do you do
> What do you expect to happen
> What happens instead
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/sikuli/+question/661057
>
> You received this question notification because you asked the question.
>

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

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


Re: [Sikuli-driver] [Question #661057]: Hi I am getting the below error when sikulix is used in eclipse

2017-12-10 Thread Manfred Hampl
Question #661057 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661057

Status: Open => Needs information

Manfred Hampl requested more information:
Please clearly state what the problem is.

What do you do
What do you expect to happen
What happens instead

-- 
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 #661532]: region with finder

2017-12-10 Thread RaiMan
Question #661532 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661532

Status: Open => Answered

RaiMan proposed the following answer:
You are still not familiar with the concept of SikuliX: it is all about
searching one static image inside another static image.

If we say, we are searching something in a screen region or some other screen 
area like a window, then in fact internally at that moment an in-memory static 
image of this area is produced (captured/shot) and further used.
With the features, that wait for some image to appear on the screen, this 
procedure of "capture and search" is repeated until found or timeout.

So if something has to be visible on the screen with respect to your
workflow, then you have to take care for that.

-- 
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 #661532]: region with finder

2017-12-10 Thread Maniraj
Question #661532 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661532

Status: Answered => Open

Maniraj is still having a problem:
--3 if the screenshot for region is taken and stored in local after that
also window needs to active ? For finding image inside that region ? If
yes means why?

-- 
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 #262651]: Display On-screen text annotation

2017-12-10 Thread RaiMan
Question #262651 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/262651

RaiMan posted a new comment:
@ mawesome
look here about the state:
http://sikulix-2014.readthedocs.io/en/latest/extensions/sikuli-guide/index.html

example:
import guide as GD
aTarget = getCenter().grow(50) # where to show (a Region)
GD.text(aTarget, "hello right") # what to show
GD.text(aTarget, "hello left", side = "left") # what to show
GD.text(aTarget, "hello bottom", side = "bottom", back = (255, 0, 0)) # what to 
show
GD.show(2) # show it for 2 seconds

Have fun ;-)

-- 
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 #661543]: OCR not able to find text

2017-12-10 Thread RaiMan
Question #661543 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661543

Status: Open => Answered

RaiMan proposed the following answer:
no fix.

the ocr/text feature is still at the experimental level since 5 years ago. 
many problems and oddities. will only get better later in version 2.

in your case:
such grafically pimped fonts will always need special setups and preparations 
for use with Tesseract (the engine used inside), which is not possible any way 
with SikuliX 1.1.x.
Best results can be expected with standard fonts in standard GUI elements.

-- 
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 #661532]: region with finder

2017-12-10 Thread RaiMan
Question #661532 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661532

Status: Open => Answered

RaiMan proposed the following answer:
--1: the captured region is not saved at all, since it is a BufferedImage, 
which is an in-memory representation. ... and yes, the Finder looks for images 
given by Finder.find(image) inside this in-memory image. 
Remember: this in-memory image is created at time of
Screenshot regionset = new AShot().takeScreenshot(driver, elmt);
and does not change afterwards (it is a shot or in SikuliX idiom a capture)

--2: Ryt ;-) it does not look into the webscreen, but into the captured
screen content according to --1

--3: Not ryt ;-) until this has happened:
Screenshot regionset = new AShot().takeScreenshot(driver, elmt);
the window must be active of course

--4: see --3

-- 
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 1737392] [NEW] [1.1.2] running scripts from net (http://...) not working as expected

2017-12-10 Thread RaiMan
Public bug reported:

I tried the below and gave me error

D:\Users\PerfReg>C:/Sikuli/runsikulix.cmd -r http://10.9.xx.xxx/ScripsIIS/TW
S_11292017.sikuli/  --args 1803


[error] Runner: given script location not supported or not valid:
http://10.9.11.192/ScripsIIS/TWS_11292017.sikuli
[error] FileManager: Not a valid Sikuli script project:
D:\Users\PerfReg1061\TWS_11292017.sikuli

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

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

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

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

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

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

Title:
  [1.1.2] running scripts from net (http://...) not working as expected

Status in Sikuli:
  Confirmed

Bug description:
  I tried the below and gave me error

  D:\Users\PerfReg>C:/Sikuli/runsikulix.cmd -r 
http://10.9.xx.xxx/ScripsIIS/TW
  S_11292017.sikuli/  --args 1803

  
  [error] Runner: given script location not supported or not valid:
  http://10.9.11.192/ScripsIIS/TWS_11292017.sikuli
  [error] FileManager: Not a valid Sikuli script project:
  D:\Users\PerfReg1061\TWS_11292017.sikuli

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1737392/+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 #661518]: Sikuli will work on Selenium grid

2017-12-10 Thread RaiMan
Question #661518 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661518

Status: Open => Answered

RaiMan proposed the following answer:
--1: Selenium: I do not have any knowledge. please look somewhereelse in the 
net. stackoverflow is always a good place to start.
--2: feel free to implement parallelism using threads

-- 
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 #661542]: Status of bug #1737392 changed to 'Confirmed' in Sikuli

2017-12-10 Thread RaiMan
Bug #1737392 status changed in Sikuli:

New => Confirmed

https://bugs.launchpad.net/sikuli/+bug/1737392
"[1.1.2] running scripts from net (http://...) not working as expected"

This bug is linked to #661542.
Do we have examples of running sikuli from URL
https://answers.launchpad.net/sikuli/+question/661542

-- 
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 #661542]: Do we have examples of running sikuli from URL

2017-12-10 Thread RaiMan
Question #661542 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661542

Linked to bug: #1737392
https://bugs.launchpad.net/bugs/1737392
"[1.1.2] running scripts from net (http://...) not working as expected"

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