← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #245842]: Perform validations using the sikuli

 

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

RaiMan posted a new comment:
@Atul
not completely clear what you mean, but looking at the thread, it seems like you want to do the "copy-to-clipboard-trick".

If yes, this is how it principally works, if the content can be marked with the mouse
- move the mouse to some point, where it would be possible to start selecting what you want with the mouse
- mouseDown(BUTON.LEFT)
- move mouse to the endpoint of selection 
- mouseUp()

now the content should be selected (marked)

type("c", KEY.CTRL) should store it in clipboard.

If the content is not selectable with the mouse, then you might have a
chance with the text-OCR feature.

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