Select a complete line using sikuli

Asked by XYZ

Need to select the last line of a paragraph when only initial 2 words appears on the screen.Using down or pagedown along with shift does not selects the line.It simply moves the curser to next line without selecting.

click("egxyz.png")
type(Key.DOWN,KeyModifier.SHIFT)
type(Key.DOWN,KeyModifier.SHIFT)

It only moves cursor to next line without selecting the text.Tried even with double click instead of click.

Please help.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
XYZ
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#2

--1. see https://bugs.launchpad.net/sikuli/+bug/894312

--2. .. but the mentioned Env.isLockOn() seems not to work correctly. I tested on Win 7 32-Bit: the state of the key is not reported correctly. I will check that for the new version.