← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #144943]: How do you clear a text field that already contains data, like a user name field.

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
type(Key.END, KEY_SHIFT) (Windows: NUM_LOCK must be off)

If the cursor is in the field (Windows):
type("a", KEY_CTRL)
type(Key.BACKSPACE) or type(Key.DELETE)

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