← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #262429]: help with storing highlighted text in linux as variable

 

Question #262429 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/262429

    Status: Open => Answered

RaiMan proposed the following answer:
doubleClick(reg2) #highlights the text I'm after
type("c", Key.CTRL)
x=Env.getClipboard()

ctrl+c is simulated by
type("c", Key.CTRL)

and not by 
type("c" + Key.CTRL)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.