Questions tagged [keystroke]

The generic concept of capturing or generating a keystroke event in an application.

The generic concept of capturing or generating a keystroke event in an application.

May also refer to library-specific keystroke-capture code, for example questions relating to capturing keystrokes using jQuery.

531 questions
-2
votes
1 answer

How to efficiently record user typing using javascript and store in database?

new to the site so not that familiar with the set-up. I've made a simple javascript application for personal use, which is essentially a calculator, and the output is dynamic (do not need to submit or press enter to retrieve results). I want to be…
John106
  • 13
  • 2
-2
votes
3 answers

What keys are pressed (modifiers) in other events than action events?

I would like to know if there is any way to find out if any keys or mouse buttons are pressed without using InputEvent. For example: My application does not have focus but when it gains it I want to know whether the Ctrl key is pressed or not. This…
Vlad Topala
  • 896
  • 1
  • 8
  • 34
-2
votes
2 answers

executing some code after pressing ENTER key

I have text box for ID. I want user to enter the ID and when he presses the Enter key I fetch some information from that specific ID from database. how can capture the key stroke as I described?
saadat rahimi
  • 127
  • 4
  • 10
-3
votes
2 answers

Javascript keyevents for a game

I am making a game where on clicking the spacebar the player moves from left to right. and again on clicking the spacebar the player will move from right to left. I have done the coding using keyevents but its not…
-3
votes
3 answers

How to send a "TAB" keystroke to another program?

I'm trying to make a program that would process some bar code to make it compatible with online banking. The catch is that the app must work with an already opened Firefox window. To make it compatible the app must remove "." (dots) and paste it…
FernandoSBS
  • 655
  • 5
  • 12
  • 23
-4
votes
1 answer

How to trigger an event in a JavaFX Application (Stage) when some keys are pressed on the KeyBoard?

I'm trying to setup a backdoor on an application which I'm working on. I want to load a new Window when the user presses "CTRL + ALT + F12". This is what I have tried so far though it is terribly bad. //packages import java.awt.EventQueue; import…
Garande
  • 174
  • 2
  • 13
1 2 3
35
36