← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #218670]: [sikuli java api] how to enter text in a text box

 

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

    Status: Answered => Solved

Lasya Kiran confirmed that the question is solved:
I found the API and examples at https://bitbucket.org/doubleshow/sikuli-api/src
I hope that is the place you were referring to?

Thanks.

And by the way, after looking into the API, I found out the method to
enter text and it is:  type().

Keyboard keyboard = new DesktopKeyboard();
keyboard.type("abc");

for which you need to import the class 'DesktopKeyboard'  i.e.
import org.sikuli.api.robot.desktop.DesktopKeyboard;

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