Questions tagged [keystrokes]
98 questions
0
votes
1 answer
C++ Troubleshooting Sending Keystrokes
I am using Windows 7 Ultimate 64-bit. This is a function I stumbled across online and used before with no issues but now I am having a problem. Regardless of what character I send to it, it will just send a forward slash keystroke /.
Here is the…

John
- 31
- 2
0
votes
1 answer
How does one keyboard press lead to different characters, depending on layout
Thank you for taking the time to look at this question.
If you press the ‘y’ key on a keyboard, it is my understanding, that a UTF-8 keycode is sent over USB corresponding to the ‘y’ key. i.e. 0x79 in hex.
This is then interpreted by the computer as…

Robin Hartley
- 91
- 1
- 8
0
votes
2 answers
MVVM Handle all un handled keystrokes on ViewModel
I don't know if this is a good way to work but i need to handle all unhandled keystrokes on my ViewModel so my idea was to use a Behavior on my ShellView that would relay all unhandled keystrokes to the ViewModel..
But the problem is how do i get…

Peter
- 37,042
- 39
- 142
- 198
0
votes
2 answers
Answering questions with keystrokes in Qualtrics javascript
I'm trying to allow for participants to press one of two buttons to answer a two-option question in my Qualtrics survey, and automatically advance to the next page. I'm using the code below. When I try it out, pressing "j" and "k" work for answering…

averyln
- 1
0
votes
1 answer
Mismatching keystrokes IntelliJ IDEA after installing Scala plugin
I just installed the Scala Plug-in for IntelliJ IDEA Community Edition (version:2016.1.3).
So, after the installation, when I type the following symbols, the corresponding symbols get represented inside the class definition of the editor.
" becomes…

Arun
- 293
- 2
- 9
0
votes
1 answer
keystrokes (key bindings) for specific elements in angular 2
what-is-angular2-way-of-creating-global-keyboard-shortcuts
Only that im interested in making the shortcuts binded to a specific element (or a container if you will). The shortcut should only work the user focus is in the element or one of his…

Ziv Glazer
- 786
- 2
- 8
- 24
0
votes
1 answer
How to make JTable process only the movement keys?
I have a Form constructed dynamically, and the components added register keys they need to process actions.
It have a JTable too, and when the JTable is focused, it is processing all the keys, so keys configured to trigger actions on the other…

Flavio Goncalves
- 3
- 4
0
votes
1 answer
Using 3 KEYSTROKES to Answer Survey in Qualtrics
I use Jscript to enable Keystrokes in Qualtrics to answer a question.
It works as with 2 options as provided in the example by Qualtrics:…

Ramon Wenzel
- 69
- 1
- 7
0
votes
0 answers
Accuracy of keydown and keyup Event in javascript
I am working on a students project where a webscript (javascript) logs keystroke events (keydown and keyup). At a later stage it should be possible to detect the identity of a user based on their keystroke behaviour.
My question: How fast can…

Dominik Varretta
- 13
- 5
0
votes
1 answer
Python IDLE shell keystroke to signal end of statement and return to prompt
In interactive mode, is there a way to signal the end of a statement (such as a class definition) and return to the prompt in order to then instantiate objects?
I've gone through simple exercises - calculations, ifs, loops, while statements. And the…

Margarita
- 1,193
- 2
- 8
- 12
0
votes
1 answer
Send System Event from Today Extension App
I need to send keystrokes from Today Extension App, so I wrote like this.
CGEventSourceRef source = CGEventSourceCreate(kCGEventSourceStateHIDSystemState);
CGEventRef f4 = CGEventCreateKeyboardEvent(source, kVK_F4, true);
…

Tsuzu
- 63
- 1
- 5
0
votes
2 answers
Handling non-input keystrokes?
I'm not sure exactly how to phrase what I'm trying to ask; in C++, using the stdio.h header instead of iostream, how would I make it so that if the escape key is pressed at any point, the program is terminated? Is there something I could add once at…

Mat Jones
- 936
- 1
- 10
- 27
0
votes
1 answer
Passing variable from python to applescript
I'm trying to make a python script pass characters from a text file as keystrokes into OSX.
The text file is formatted as a column of characters:
Which is being read into a list (called lines). This bit seems to work, as when I type lines[3], for…

Alex
- 2,270
- 3
- 33
- 65
0
votes
1 answer
Reading keystrokes in PHP or AJAX
I would like to get my page to read keystrokes wherever the person is focused on the website.
So like if they had the web page open and they pressed 1 then it did something and if they pressed 2 it did something else and so on. I don't mean to do…

Hyperion
- 869
- 1
- 8
- 23
0
votes
1 answer
PB12.5: sending keystrokes to IE OLEObject using keybd_event function/subroutine
In the program I am writing, I created an OLEObject to connect to a webpage in Internet Explorer that results in an automatic pop-up prompting me for my credentials.
I've been trying to avoid having to switch tabs and manually click OK by instead…

budang
- 1
- 1