← Back to team overview

sikuli-driver team mailing list archive

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

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
1: self.fileCommon.openFile("cmd")
here is ok , only " paste " function doesn't work sometimes....

... looks so, but might not be in the sense I mentioned:
you have dumb wait(5) after triggering the run box from the start menu.

An intelligent wait would be, to wait for something whatever related to
the opened stuff, that signals, that its GUI is ready to accept a paste.

If this for some reason sometimes takes more than 5 seconds, paste would
fail in this case.

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