sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #22275
Re: [Question #239081]: capture a region
Question #239081 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/239081
Status: Needs information => Answered
jptlse proposed the following answer:
If you want to get the data in the field of your text box perhaps try to
use key interaction to "select all" and "copy" data ?
find("Image of your field empty")
wait(10)
# text box is no more empty
if not find("Image of your field empty"):
type('a', KeyModifier.CTRL) # Select all
type('c', KeyModifier.CTRL) # Copy
print 'Data input copied: ' + Env.getClipboard() # Get from clipboard
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.