← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #169454]: [Java] using type with key events in eclipse

 

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

Summary changed to:
[Java] using type with key events in eclipse

Description changed to:
******

for rc2: see faq 1444

for rc3: now the class Key can be used the same way in Java as in
Python. see the docs for more info.

------------------------------------------------------------------------
I'm moving my scripts from sikuli to eclipse. They were originally written in jython and now I have trouble simulating key events.

E.g:
(In Sikuli X)
type(Key.ENTER)
type(Key.F2)
type(Key.DOWN)

(In eclipse)
This is what I tried
s.type(null, "", KeyEvent.VK_ENTER);

The output that I get in the console is:
[log] Ctrl+Alt+TYPE ""

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