← Back to team overview

sikuli-driver team mailing list archive

[Bug 1736968] [NEW] [request] Find multiple items on the same "screen sample" --- added 1.1.2 2017-12-07

 

Public bug reported:

--------------------- docs for the implementation:

http://sikulix-2014.readthedocs.io/en/latest/region.html#find-more-than-
one-image-in-a-region-at-the-same-time

--------------------------------------------------

Hi Everyone,

I'm trying to figure out how I could make Sikuli check the same "screengrab" or "sample of screen" multiple times.
And I'm not talking about the image inside the find() command, I'm talking about when Sikuli is looking at the screen to find things.

I want to be able to get a screen "sample" and let Sikuli find multiple things in that one sample.
With rapidly changing information this is the only way I could sample the screen once and then let Sikuli find multiple things, then sample again, let it find multiple things, etc. etc.

Is this possible?

I was thinking something like this?
sample("temp.png")
exists(Pattern("thing01.png").exact(), 0, "temp.png")
exists(Pattern("thing02.png").exact(), 0, "temp.png")

** Affects: sikuli
     Importance: Critical
     Assignee: RaiMan (raimund-hocke)
         Status: Fix Committed

** Changed in: sikuli
       Status: New => Fix Committed

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

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

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

** Summary changed:

- [request] Find multiple items on the same "screen sample"
+ [request] Find multiple items on the same "screen sample" --- added 1.1.2 2017-12-07

** Description changed:

+ --------------------- docs for the implementation:
+ 
+ http://sikulix-2014.readthedocs.io/en/latest/region.html#find-more-than-
+ one-image-in-a-region-at-the-same-time
+ 
+ --------------------------------------------------
+ 
  Hi Everyone,
  
  I'm trying to figure out how I could make Sikuli check the same "screengrab" or "sample of screen" multiple times.
- And I'm not talking about the image inside the find() command, I'm talking about when Sikuli is looking at the screen to find things. 
+ And I'm not talking about the image inside the find() command, I'm talking about when Sikuli is looking at the screen to find things.
  
- I want to be able to get a screen "sample" and let Sikuli find multiple things in that one sample. 
+ I want to be able to get a screen "sample" and let Sikuli find multiple things in that one sample.
  With rapidly changing information this is the only way I could sample the screen once and then let Sikuli find multiple things, then sample again, let it find multiple things, etc. etc.
  
  Is this possible?
  
  I was thinking something like this?
  sample("temp.png")
  exists(Pattern("thing01.png").exact(), 0, "temp.png")
  exists(Pattern("thing02.png").exact(), 0, "temp.png")

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

Title:
  [request] Find multiple items on the same "screen sample" --- added
  1.1.2 2017-12-07

Status in Sikuli:
  Fix Committed

Bug description:
  --------------------- docs for the implementation:

  http://sikulix-2014.readthedocs.io/en/latest/region.html#find-more-
  than-one-image-in-a-region-at-the-same-time

  --------------------------------------------------

  Hi Everyone,

  I'm trying to figure out how I could make Sikuli check the same "screengrab" or "sample of screen" multiple times.
  And I'm not talking about the image inside the find() command, I'm talking about when Sikuli is looking at the screen to find things.

  I want to be able to get a screen "sample" and let Sikuli find multiple things in that one sample.
  With rapidly changing information this is the only way I could sample the screen once and then let Sikuli find multiple things, then sample again, let it find multiple things, etc. etc.

  Is this possible?

  I was thinking something like this?
  sample("temp.png")
  exists(Pattern("thing01.png").exact(), 0, "temp.png")
  exists(Pattern("thing02.png").exact(), 0, "temp.png")

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