New question #140946 on Sikuli:
https://answers.launchpad.net/sikuli/+question/140946

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=[thing,thing,thing...]
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.


-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to