Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sikuli Slides recorder does not capture keystrokes #35

Open
jguglielmi opened this issue Sep 4, 2014 · 1 comment
Open

Sikuli Slides recorder does not capture keystrokes #35

jguglielmi opened this issue Sep 4, 2014 · 1 comment

Comments

@jguglielmi
Copy link

The sikuli executable recorder is claimed in the documentation to record click and type events. It is only recording click events.

"Each time you click or type, the recorder will record it as an event"

http://slides.sikuli.org/docs/recorder/

@kwg1990
Copy link

kwg1990 commented May 18, 2017

This is probably ridiculous to answer due to the dates involved between posting and this reply but I wound up here and was looking for an answer to this question and thought I would answer this since I have an answer. The JNativeHook keyboard listening mechanism is not implemented in this project. The short answer is that this functionality is not implemented, and requires a fair amount of work to get working. Keep reading to get some tips on how.
If you look at the package where the mouse listener is initialized and implemented, you can get an idea of how it is used and wired in. I was able to get this program to capture keystrokes once I implemented the keyboard listening mechanism (named NativeKeyListener, and EventDetector). This does require a full re-compile of the project to use the functionality, and requires some custom code to be written to create the typing actions and pass them along. If you follow the paths used to capture the mouse events (starting at MouseEventDetector which implements NativeMouseInputListener) and see how they are captured in mouse Actions though it is not overly complicated.
Hopefully someone will stumble on this question if they happen to be doing some research like I did :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants