How to multi thread
Asked by
Danielo
Hello everyone. I have a little problem and i don't know how to solve it.
I have two scripts, call it, A and B.
A uses functions from B
B have a function like this
things=
def search( ):
for t in things:
if exists(t)
click(t)
do a lot of things
Ok, i want to execute that function from a but in background. So, i want to call tath function without stopping A script doing things.
A:
while true:
clic(x)
wait(1)
b.search()
more things.
I don't know if i explained this well.
I though about call the b function with a different value in each iteration, to make it less slow, but i don't know how to access to the differents parts of an array in sikuli.
Thank you every onee, and sorry for my bad english.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.