sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24342
Re: [Question #244279]: How to get variable text from application screen and store that value in Excel in Rows
Question #244279 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/244279
Status: Open => Answered
obiwan-92 proposed the following answer:
Hello,
First select the text you want capture with your mouse (by a double click, for example), then :
type('c', KeyModifier.CTRL) # type a classic CTRL + C
text = Env.getClipboard() # get the value saved in the clipboard
# give the focus where you want to write the text
paste(text)
Hope it's help.
Regards.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.