sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #15602
Re: [Question #219427]: paste() not working on Windows 7 64-bit after using it.
Question #219427 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/219427
Status: Open => Answered
RaiMan proposed the following answer:
Assure, that the second time the text box has focus and is ready to
accept a paste (which internally simply is setting the clipboard to the
text and issuing a cltr-v).
Sometimes it is a timing problem: the paste is processed too fast and
the GUI is not yet ready. So if you are sure, the text box gets focus
before the paste, insert a wait(1.0) before the paste. If this helps,
you can reduce the given time to a suitable value, whre it still works
(e.g. 0.5).
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.