← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #184165]: Need to performa click in server and thin client

 

Question #184165 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/184165

    Status: Answered => Open

balakrishnan is still having a problem:
Hi Raiman,

I need to click a same image in all the 4 clients . Can i pass this code
through telnet ..Please let me know how the sample code to  pass below
code through telnet ?  ...Sorry for troubling you a lot...But i am
really interested to use sikuli and learning python thats why i asking?

#!/usr/bin/python
import thread
import time
# Define a function for the thread
def Client1_time( threadName, delay):
    doubleClick("A1.png")
 def Client2_time( threadName, delay):
    doubleClick("A1.png")
 def Client3_time( threadName, delay):
    doubleClick("A1.png")
 def Client4_time( threadName, delay):
    doubleClick("A1.png")
       
 # Create two threads as follows
try:
   thread.start_new_thread( Client1, ("Thread-1", 1, ) )
   thread.start_new_thread( Client2, ("Thread-2", 2, ) )
   thread.start_new_thread( Client3, ("Thread-3", 3, ) )
   thread.start_new_thread( Client4, ("Thread-4", 4, ) )
except:
   print "Error: unable to start thread"
exit(1)

Thanks
Balakrishnan.A.

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