← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #684054]: Trying to select text with mouse functions

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
this works for me with latest 1.1.4 on Windows 10:
switchApp("Edge")
r = selectRegion()
hover(r.getTopLeft())
mouseDown(Button.LEFT)
wait(0.3)
mouseMove(r.getBottomRight())
mouseUp()
type("c", Key.CTRL)
wait(0.5)
print App.getClipboard()
click()

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.