sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24023
Re: [Question #243530]: Issue on get clipboard
Question #243530 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243530
Status: Answered => Open
Sikulipro is still having a problem:
Hi
Script 1:
find("1391781385326.png")
click("1391781346821.png"), type('c', KeyModifier.CTRL)
a = Env.getClipboard()
wait(3)
click("1391781427006.png"), type('c', KeyModifier.CTRL)
b = Env.getClipboard()
if a == b:
print "fine "
else:
print "not fine"
# Both values is in text
Script : 2
click("1391781713288.png"), type('c', KeyModifier.CTRL)
a = Env.getClipboard()
wait(3)
click("1391781734327.png"), type('c', KeyModifier.CTRL)
b = Env.getClipboard()
if a == b:
print "fine "
else:
print "not fine"
In this image both values in labels, and can be change as per the supplier.
________________________________
From: RaiMan <question243530@xxxxxxxxxxxxxxxxxxxxx>
To: saindane_harshal@xxxxxxxxx
Sent: Friday, 7 February 2014 6:56 PM
Subject: Re: [Question #243530]: Issue on get clipboard
Your question #243530 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243530
RaiMan proposed the following answer:
"empty text" cannot be copied to clipboard and hence does not change it.
--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/sikuli/+question/243530/+confirm?answer_id=2
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/sikuli/+question/243530
You received this question notification because you asked the question.
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.