← Back to team overview

sikuli-driver team mailing list archive

[Question #200870]: Key Modifiers not working ?

 

New question #200870 on Sikuli:
https://answers.launchpad.net/sikuli/+question/200870

Hi, I have read various questions relating to Key Modifiers but nothing I do seems to work.

I am trying to click into a field, highlight the entire contents of the field and delete it prior to entering my own value.

thus my code look slike this;

click( <image> ) #this works ok
type( Key.HOME )
type( Key.END, KeyModifier.SHIFT )
type( Key.BACKSPACE )

Unfortunately the SHIFT does not seem to "take", so instead of highlighting the contents of the field the cursor just moves to the end of the field.

What am I doing wrong?



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