sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #01660
Re: [Question #148128]: how to copy
Question #148128 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/148128
Status: Open => Answered
RaiMan proposed the following answer:
did my given example run?
It is not fun, to try to answer your questions, since you do not give
any feedback.
your code:
m = find( )
hover(img)
wait(0.5)
type("c", KEY_CTRL)
# the copy should not work, since nothing is selected
find(image)
type("v", KEY_CTRL)
if you want to type something, a target must be selected (at least as clickpoint)
so this should be something like:
type(img, "v", KEY_CTRL)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.