Re: [Sikuli-driver] [Question #269933]: Selecting text randomly

2015-08-03 Thread Eugene S
Question #269933 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269933

Status: Open => Needs information

Eugene S requested more information:
The text selection process that you described is not clear.
Please describe it step by step.

Do you just click once on the text to select it?
Do you have to select it by dragging the mouse?
Is this text selectable? Meaning that you can navigate in this textbox with 
your keyboard and perform key combinations like CTRL + 'A', CTRL + 'C'?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #269933]: Selecting text randomly

2015-08-03 Thread Sambit Das
Question #269933 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269933

Sambit Das posted a new comment:
Hi Eugene

The text selection should be done through mouse only. Here no keyboard action.
Steps:
1. Randomly pick a paragraph .

2. Click/Hold  the left click of mouse and drag  down to a certain point
(or the end of paragraph).

3.Release the left click of the mouse . one menu will appear.

4. Need to perform different action on the options present in the menu.

Is sikuli able to perform this kind of operations .

N.B. Again  the content of the webpage in xhtml page.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #269933]: Selecting text randomly

2015-08-04 Thread Eugene S
Question #269933 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269933

Status: Needs information => Answered

Eugene S proposed the following answer:
Yes, such scenarios can be automated with Sikuli.
It might be hard working with multiple areas, especially if you want to perform 
precise mouse action within these areas. You will have to think how can you 
define your paragraph in a robust way (remember that sikuli is 100% visual).

As to moving the mouse itself, you can use these commands:
http://doc.sikuli.org/region.html#low-level-mouse-and-keyboard-actions

Again, your main challenge is going to be robust definition of the
regions you want to interact with.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #269933]: Selecting text randomly

2015-08-12 Thread Sambit Das
Question #269933 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269933

Status: Answered => Solved

Sambit Das confirmed that the question is solved:
Hi Eugene

I didnt understand. Could you please share me in detail . I mean what do
you mean by robust way of defining paragraph to handle mouse actions.

Thanks 
Sambit

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #269933]: Selecting text randomly

2015-08-13 Thread Sambit Das
Question #269933 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269933

Status: Solved => Open

Sambit Das is still having a problem:
Sorry Eugene

That was I wrongly clicked as solved. But still not solved the issue .
Today I was trying to perform the action but didnot succeed . I was trying with 
the following code:

mouseDown(Button.LEFT)
mouseMove(Env.getMouseLocation().offset(10, 10))
mouseUp()

This code I got from the following webpage:

http://doc.sikuli.org/tutorials/resize/resize.html
Since I dont know what are the parameters need to pass for this. it didnt 
succeed.

Could you please make me understand about the above code. So that I can
implement it. I am sure it can solve the issue

Thanks 
Sambit

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #269933]: Selecting text randomly

2015-08-14 Thread Sambit Das
Question #269933 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269933

Sambit Das gave more information on the question:
Hi Eugene

My issue is  similar to the following issue:

In MS-Word If you have any text present in a .docx file. If you select a
group of text by holding the left click of  the  mouse and after the
releasing  the left click of the mouse one menu appears  with different
options.

I need to handle a similar issue to click the various options present in
the menu.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #269933]: Selecting text randomly

2015-08-17 Thread Eugene S
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.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #269933]: Selecting text randomly

2015-08-18 Thread Sambit Das
Question #269933 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269933

Status: Answered => Open

Sambit Das is still having a problem:
Hi Eugene

If there are 10 lines present in a paragraph. Out of the 10 lines
Suppose I need to create Highlight  for 2 lines only.  So I will Click
the left Button of mouse and hold to the end of the next line. When the
Left Button is released there one menu option opens.


Here I want to know How to select those two lines. Forget about paragraph. I 
need to select a group of text say.

Now  I guess you have understood my problem.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #269933]: Selecting text randomly

2015-08-18 Thread Eugene S
Question #269933 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269933

Status: Open => Needs information

Eugene S requested more information:
I think I understand the question but you didn't say what's currently
wrong with this code example that you attached. Errors? anything? How
does it fail?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #269933]: Selecting text randomly

2015-08-18 Thread Sambit Das
Question #269933 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269933

Status: Needs information => Open

Sambit Das gave more information on the question:
Eugene
 the script I mean the method of java gets passed. But It's not performing the 
required action. Thats the reason I am Confused.
It will be very helpful if You can make me understand the use of 
MouseDown,MouseMove And mouseUp . How to use this three
methods.

Thanks a lot in advance

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #269933]: Selecting text randomly

2015-08-18 Thread RaiMan
Question #269933 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269933

Status: Open => Answered

RaiMan proposed the following answer:
mouseDown()  -- the specified mouse button is pressed an held until a 
corresponding mouseUp()
mouseUp()  -- the specified mouse button is released (or all buttons if no 
parameter)
mouseMove() -- the mousepointer is moved to the specified location (nothing 
done with the buttons)

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp