← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #269933]: Selecting text randomly

 

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

    Status: Open => Answered

Eugene S proposed the following answer:
Hi,

I am still having a trouble understanding what is that you are trying to
do and what doesn't work for you. You started talking about randomly
picking a paragraph and what was my first question to you. How do you
define a paragraph? Sikuli doesn't know what paragraph is. You have to
VISUALLY define it. That means, for example, to take a screenshot of the
paragraph. But since in your case you want it random, you will have to
define another region and use it as a pivot and locate the paragraphs
based on that region. Hopefully this is clear.

Now to your other question regarding the code that didn't work for you
with holding the mouse and dragging it. What exactly didn't work? Did
you get any errors? Did anything unexpected happen?

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