sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #18918
Re: [Question #231351]: Use(store) a copied value (ctrl-c) later in the script as a stored value
Question #231351 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/231351
Status: Open => Answered
RaiMan proposed the following answer:
--1. type() returns 0 or 1 depending on wether it thinks all went ok or
not. type() does not know anything about what your typed stuff might do
in the GUI.
you can try to use
copied = Env.getClipBoard()
but take care: copied is a string:
if copied == "5":
...
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.