Question #251785 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251785
Status: Answered = Solved
aorior confirmed that the question is solved:
Thanks RaiMan, that solved my question.
--
You received this question notification because you are a member of
Sikuli Drivers
New question #251785 on Sikuli:
https://answers.launchpad.net/sikuli/+question/251785
Hi,
I've a problem:
I need to compare two images.
image1=region1.find(image.bmp)
image2=region2.find(image.bmp) #it's the same image.bmp for the both
if image1==image2 # It's always false
return true
Question #251785 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251785
aorior posted a new comment:
In fact, this is more complexe...
There is a group of images, in a first region and in a second. They seem be
identical, but in fact they are ID and some numbers change
Question #251785 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251785
aorior posted a new comment:
I know that positions are different.
and that I only look the rectangle. The little script was just here to explain,
but it seem not work at all...
I look for a fonction
Question #251785 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251785
aorior posted a new comment:
Indeed I don't know exactly which ID is on the screen,
It's for that I use find with a little similar. So I look for a random ID among
all the ID in first region (So I don't
Question #251785 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251785
aorior posted a new comment:
An other script with the same problem:
i=0
for image in findAll(image.bmp)
if i==0:
image1=image
continue
else:
image2=image
Question #251785 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251785
aorior posted a new comment:
I forget i=i+1 before continue
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli
New question #251515 on Sikuli:
https://answers.launchpad.net/sikuli/+question/251515
Hi,
I've a problem, I use this code: (sorry it's so ugly but...)
list_menu=[]
list_menu_triangle=[[] for _ in range(25)]
list_menu_triangle_carre=[[[] for _ in range(25)] for _ in range (75)]
count_menu=0
for j
Question #251515 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251515
aorior gave more information on the question:
More informations:
the interface it's a menu.
When you click on one of this, an scrolling menu appear, and another click show
squares.
Think's for listening
Question #251515 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251515
aorior posted a new comment:
I will try to resolve my problem asking my colleague (I'm in internship, but
they never programmed with Sikuli)
If I success I wrote the answer.
Else I will ask again
Question #251515 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251515
aorior posted a new comment:
In fact, the code is not so complex.
The first time, list_menu is empty, so verify=0
So the programm goes to the last else.
Here I click on this menu, an scrolling menu appears
Question #251515 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251515
aorior posted a new comment:
Sorry if you think I'm arrogant or whatever, it's not that I wanted and I
understand that the code seem complex, that I wanted to say it's that I didn't
use complex functions
Question #251402 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251402
Status: Open = Solved
aorior confirmed that the question is solved:
I do that:
import threading
class MT (threading.Thread):
def __init__ (self,Fenetre):
threading.Thread.__init__ (self
13 matches
Mail list logo