← Back to team overview

sikuli-driver team mailing list archive

[Question #663835]: paste doesn't work sometimes

 

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

hi all 

environment : win10,  java8, sikuli 1.1.0

I wrote some .py files that I want to run through command line,
here is  a part of codes :
     1:   self.fileCommon.openFile("cmd")
     2:   paste("cd " + self.cmdPath)
     3:   wait(2)
     4:   type(Key.ENTER)
     5:   wait(2)
     6:  paste("python " + self.srmMany + " " +  b + " " + a + " " + " E29")
     7:   wait(2)
     8:   type(Key.ENTER)
     9:    wait(7)  
    10:    paste("exit")
    11:    wait(2)
    12:   type(Key.ENTER)
    13:    wait(2) 

when i run it , paste doesn't work sometimes ,
sometimes doesn't execute  line2,the script continues to run just  like nothing happened
but sometimes line 10 deesn't work ....

could you please help me to solve it ?
thanks so much!!!


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.