[1.0.1] "keyDown(Key.SHIFT+Key.END)" does not work

Bug #1236688 reported by vince on 2013-10-08
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Sikuli
High
RaiMan

Bug Description

sikuli ide 1.0.1 + windows7 32bit

I try to select some texts using "keyDown(Key.SHIFT+Key.END)",but it does not work.

BTW,what is the best way to clear all the uncertain contents in a text box?

RaiMan (raimund-hocke) wrote :

If this should work at all:
type(Key.END, KeyModifier.SHIFT)

which means holding shift, while typing end, which is the correct simulation.

... but there are some problems with these shortcuts in some situations (selection does not work)

--- what is the best way to clear all the uncertain contents in a text box?
usually this works:
type("a", KeyModifier.CTRL)
type(Key.BACKSPACE)
after having given focus to the text area somehow.

vince (xuyatian) wrote :

--- but there are some problems with these shortcuts in some situations (selection does not work)
Will these problems be fixed in next version?

RaiMan (raimund-hocke) wrote :

I have found some possible causes that will be addressed in version 1.1.0

RaiMan (raimund-hocke) on 2014-01-12
Changed in sikuli:
status: New → In Progress
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
summary: - "keyDown(Key.SHIFT+Key.END)" does not work
+ [1.0.1] "keyDown(Key.SHIFT+Key.END)" does not work
Jasmine (ly802002) wrote :

Hello RaiMan,

Although this post created few years ago, I hope my comment will still be entertained.
Currently I am working with Selenium & Sikuli. I used Sikuli for Oracle forms. I am facing the same issue which the SHIFT key is not hold.

Below is my version, hope you can help me on this.
sikuli-api-1.2.0.jar
sikuli-core-1.2.2.jar
sikulixapi-1.1.0.jar
sikulixapi-1.1.1-SNAPSHOT.jar
sikulixlibswin-1.1.0.jar
sikulixlibswin-1.1.1-SNAPSHOT.jar

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers