clear the input box

Asked by alonso on 2010-01-27

How can i clear an input box before I do a Type("hello") ?

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2010-01-27
Last reply:
2010-01-28
Tsung-Hsiang Chang (vgod) said : #1

Try this:
type("a", KEY_CTRL) # use KEY_META for Mac
type(Key.BACKSPACE)

Can you help with this problem?

Provide an answer of your own, or ask alonso for more information if necessary.

To post a message you must log in.